Getting error like "No Access-Control-Allow-Origin header is present on the requested resource"


#1

Getting error like “No Access-Control-Allow-Origin header is present on the requested resource”.
Can you provide solution to avoid this.


#2

Thankyou,

Issue solved after placing the REST API call code in Meteor.methods({}) server side and called from client side.
But Please let me know if you have solution how to solve it by placing same code at client side.


#3

You have to configure CORS in your rest api system: http://enable-cors.org/