关于测试开发:405状态码演示

13次阅读

共计 159 个字符,预计需要花费 1 分钟才能阅读完成。

服务端(申请地址为:http://localhost:8081/getmoney)只设置 post 办法,没有设置 get 办法,具体如图。


在 postman 中采纳 get(http://localhost:8081/getmone…)办法来申请,失去的响应为 405Z 状态码,如下图。

因而呈现 405 状态码的起因是申请办法谬误。

正文完
 0