I'm trying to grab JSON data from a Web API we've built on another server. Ideally i'd like to call the URL to grab the JSON from the Web API directly from an Angular Factory, but I get the cross-domain error.

Right now my Factory calls the ASP Controller and the ASP Controller grabs the JSON from the Web API just fine.. but I find it an extra unnecessary step if I could just grab the data from my Factory directly.

Here are some of the guides I've tried that I can't get to work:

AngularJS + ASP.NET Web API Cross-Domain Issue


help please!

Related posts

Recent Viewed