I have to be honest, Thanks soooo much for leaving the post out there. I was having a major problem when deploying a new site to production. Worked perfectly on staging, but on live it was failing on all ajax requests. This had me baffled, but then I came across your post. As a security measure I lock down the Umbraco folder by IP range, to our internal IP Ranges. Unknowingly I had then also blocked the Ajax requests to the WebApi. In my opinion it does not make sense that these public Api's are located in the Umbraco folder. But at least the issue is solved for now.
WebAPI returning 403 Forbidden
I've been playing with the example WebAPI at http://our.umbraco.org/documentation/reference/webapi/ but I'm getting a response of 403 regardless of what I do.
Any idea what I'm doing wrong?
Not sure why I can't delete this but basically we had restricted IP's and I was on an IP that wasn't allowed.
User error :)
I have to be honest, Thanks soooo much for leaving the post out there. I was having a major problem when deploying a new site to production. Worked perfectly on staging, but on live it was failing on all ajax requests. This had me baffled, but then I came across your post. As a security measure I lock down the Umbraco folder by IP range, to our internal IP Ranges. Unknowingly I had then also blocked the Ajax requests to the WebApi. In my opinion it does not make sense that these public Api's are located in the Umbraco folder. But at least the issue is solved for now.
Thanks again,
is working on a reply...