【问题标题】:Server returned HTTP response code: 405 for previously properly worked REST service服务器返回 HTTP 响应代码:以前正常工作的 REST 服务的 405
【发布时间】:2021-11-26 08:02:44
【问题描述】:
Server returned HTTP response code: 405 for URL: xxxxxxxxxxxxxxxxxxx/xxxx

对于之前正常工作的 REST 服务,我收到此错误。

有人知道这是怎么发生的吗?

【问题讨论】:

  • 没有看到 url、请求和服务器路由处理程序(或 api 文档,如果它是第三方):没有。

标签: rest http-status-code-405


【解决方案1】:

这意味着您使用的协议不正确,例如。在应该使用 GET 的地方使用 POST 调用

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-08-09
    • 2013-09-12
    • 1970-01-01
    • 2013-08-12
    • 2012-11-24
    • 2023-03-30
    • 1970-01-01
    • 2016-02-24
    相关资源
    最近更新 更多