I have my json data which i need to be posted to a url or just update the json data in one of my site urls. But i get the 405 error. This is my code.
$.post("details", {name: "John", location: "us"});
I have my json data which i need to be posted to a url or just update the json data in one of my site urls. But i get the 405 error. This is my code.
$.post("details", {name: "John", location: "us"});
405 errors can be traced to configuration of the Web server and security governing access to the content of the Web site. It seems that the server to which you are sending the Post request(your Site's server) has been configured to block Post request.
You can configure your server to allow the Post request. For more details, go to http://www.checkupdown.com/status/E405.html