curl-client icon indicating copy to clipboard operation
curl-client copied to clipboard

Fix request body for GET and HEAD methods

Open grongor opened this issue 5 years ago • 1 comments

There is no limitation in cURL that would prevent these methods to have a body. And without the body for these requests you are unable to use APIs that require it, such as https://docs.confluent.io/current/kafka-rest/api.html#get--consumers-(string-group_name)-instances-(string-instance)-offsets .

grongor avatar Nov 05 '19 09:11 grongor

I know that the intention is correct. The GET and HEAD requests can have bodies. Im not sure about the implementation because I dont know this client well enough.

Can @mekras have a look?

Nyholm avatar Jan 04 '20 12:01 Nyholm