New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feign REST Client - Converts GET requests to POST #36
Comments
@ph0bos I hadn't added support for parameter annotations yet. So your @PathVariable was ignored and the |
@spencergibb in witch version? |
I am not able to pass body in Get request while using Feign. If I am doing so it is still converting get request to post. |
Try this .............. @component
} |
I am not able to pass body in Get request while using Feign. If I am doing so it is still converting get request to post. |
When implementing a Feign client as per (http://projects.spring.io/spring-cloud/spring-cloud.html#_declarative_rest_client_feign) using the following interface all GET requests to "getStore" are actually being attempted as POST requests resulting in an Unsupported Operation exception being thrown.
The listPlatforms call is executed as a GET request and works as expected.
Interface;
Exception;
Caused by: feign.FeignException: status 405 reading PlatformRestClient#getPlatform(String); content:
The text was updated successfully, but these errors were encountered: