csdnceshi62 2016-07-28 05:02 采纳率: 100%
浏览 583

405错误:方法不允许

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"});
  • 写回答

2条回答 默认 最新

  • weixin_33674437 2016-07-28 05:40
    关注

    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

    评论

报告相同问题?

悬赏问题

  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败