org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported
时间: 2023-10-25 20:39:18 浏览: 199
spring cloud feign不支持@RequestBody+ RequestMethod.GET报错的解决方法
5星 · 资源好评率100%
This error occurs when a client sends a HTTP request with a method that is not supported by the server. In this case, the server is expecting a request with a different HTTP method, but received a GET request instead.
To resolve this error, you need to ensure that the client is sending the correct HTTP method that is supported by the server. You can check the server documentation to see which HTTP methods are supported and use the appropriate method in the client request. Additionally, you can also check if there are any typos or errors in the client request.
阅读全文