Shadab
Shadab

Reputation: 367

CORS request from chrome browser

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

Answers (2)

balajivaishnav
balajivaishnav

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

Mahesh Kumar
Mahesh Kumar

Reputation: 136

use the chrome plugin

CORS

and switch on the "enable cross-origin resource sharing"

Upvotes: 1

Related Questions