We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OkHttp seems to convert in-flight POST and PUT requests to GET requests if the body provided is null. This is surprising.
In order to address this, RestOptions should be changed to:
RestOptions
RestOptions.Builder
data
null
byte[]
The text was updated successfully, but these errors were encountered:
when will this bug be addressed?
Sorry, something went wrong.
@c0rdeiro Soon. :) For now, you can work around it by providing an empty body. A better fix is forthcoming.
Thank you so much, this was driving me insane in the last 2 days
Same here! Sorry for the trouble.
fix(api): Address #538 by providing a default empty byte array for pa…
6c74cd6
…yload
Got a PR for it right here @c0rdeiro : #539
2a671a0
No branches or pull requests
OkHttp seems to convert in-flight POST and PUT requests to GET requests if the body provided is null. This is surprising.
In order to address this,
RestOptions
should be changed to:RestOptions.Builder
data
isnull
, pass an emptybyte[]
The text was updated successfully, but these errors were encountered: