【问题标题】:PUT and DELETE method are not workingPUT 和 DELETE 方法不起作用
【发布时间】:2015-02-08 10:09:44
【问题描述】:

我有一些通过PUTDELETE 方法使用的网址,尽管这些方法在另一台服务器上工作,但这些方法在服务器上不起作用。

我还看到 PUT 和 DELETE 请求正在由 GET 方法处理。虽然服务器给出了错误响应代码。

我收到NetworkError: 501 Not Implemented

【问题讨论】:

    标签: php laravel get put


    【解决方案1】:

    这个问题可以通过启用mod_actions模块来解决。

    需要在 Apache 中启用 mod_actionsmod_rewrite,在 块中添加 块。

    有时防火墙会限制 PUT 和 DELETE 方法。

    【讨论】:

      猜你喜欢
      • 2017-07-17
      • 1970-01-01
      • 1970-01-01
      • 2020-09-21
      • 2011-03-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多