{"code":500,"message":"服务端发生错误:Request method 'GET' not supported","success":false}
时间: 2023-09-06 09:07:19 浏览: 76
这个错误提示是因为你使用了不支持的POST请求方法,而应该使用GET请求方法。错误提示中提到了"Request method 'POST' not supported"和"Request method 'GET' not supported",这说明你在尝试使用POST请求方法时出现了问题。同时,错误提示中还提到了使用feign时出现的问题,feign使用GET方法请求时带的参数为一个实体也会导致类似的错误。要解决这个问题,你应该检查你的代码中是否正确地使用了GET请求方法,并且确保参数的传递方式是正确的。如果你使用了feign,你可以尝试使用其他解决方案来解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [支持以下GET、 HttpRequestMethodNotSupportedException: Request method ‘POST‘ not supported](https://blog.csdn.net/weixin_46348176/article/details/116645736)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]