jQuery .ajax() POST Request throws 405 (Method Not Allowed) on RESTful WCF
Your code is actually attempting to make a Cross-domain (CORS) request, not an ordinary POST. That is: Modern browsers will only allow Ajax calls to services in the same domain as the HTML page. Example: A page in http://www.example.com/myPage.html can only directly request services that are in http://www.example.com, like http://www.example.com/testservice/etc. If the service is in … Read more