Reputation: 367
I have an AngularJs application making AJAX request to different domains.I dont have admin access to the server as well as my chrome browser.Is there any other solution instead of using nodeJs?
Upvotes: 1
Views: 131
Reputation: 2893
Check this plugin for chrome
in your API please add this code (if required)
[EnableCors(origins: "*", headers: "*", methods: "*")]
Ensure that the above plugin is enabled before making the request
Upvotes: 0
Reputation: 136
use the chrome plugin
CORS
and switch on the "enable cross-origin resource sharing"
Upvotes: 1