-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Zuul ignores DELETE request body #949
Comments
The warning msg I got when running behind a zuul server is:
|
What version are you using? |
spring-cloud-starter-zuul version 1.1.0.M5 Thanks, |
do you have any news on this? I have the same problem. |
No, I had to work around it by putting the body info in url. |
You can try using a |
See #918 (comment) for details |
I have encountered the same problem, but |
Great, it works fine without a body, but we want to process the DELETE request with request body in fact(e.g. list of id or anything else). |
We do have the same problem. I know that there are a lot of interpretations and discussions regarding this but there are some use cases for us that makes DELETE with a request body a good solution. I am wondering if Zuul should take an un-opinionated stance on this and let the downstream service make a decision whether DELETE with request body should or should not be allowed. |
Previously the ribbon http client failed if delete had a body. Since it is no longer the default, we can probably move this functionality to the specific client implementation. |
Hi,
I have a spring mvc controller which process DELETE request, the RequestBody of the request has a list of ids. It works fine when running alone. But once I put the service behind a zuul service, the DELETE request body is missing.
Has anyone encountered the same problem?
Thank you,
Mike
Here is the controller method:
The text was updated successfully, but these errors were encountered: