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
"Cannot set a request body for a DELETE method." #44
Comments
I ran into this same issue. As a workaround for this:
|
@jonpeterson I did as you have mentioned here, but for whatever reason the overridden delete method is not getting called & I still keep getting the error.
|
@tankchintan, do you use then RichRESTClient instead of RESTClient? That solution help me. |
In case if somebody's still having this issue, the more compact solution is:
|
@rtretyak Thanks for your compact solution. very helpful. |
Groovyc: unable to resolve class RequestConfigDelegate |
@arpithavaddu |
http://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request
There is nothing in the spec that says this is disallowed.
Is there any particular reason that this is not implemented?
The text was updated successfully, but these errors were encountered: