Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

WebAPI - CORS

$
0
0

I'm at a loss, I', having some issues when accessing a WebAPI that I created on my web server. I read and went through the changes for the CORS found here:

http://encosia.com/using-cors-to-access-asp-net-services-across-domains/

and I'm still unable to access my WebAPI from my web page on my web server. I even did this as well:http://enable-cors.org/server_iis7.html and still no luck. Is there something I'm missing? I have the cors package in the WEBApi code as well. as well as added

config.EnableCors();

 to the webapiconfig.cs file.

what else could there be that I'm missing? my service is running on IIS 7, my web page I'm trying to connect to it with is running on IIS 7 as well


Viewing all articles
Browse latest Browse all 4850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>