You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you care to elaborate on what "but it's not working" refers to? :)
Sending HTTP requests which include a body (such as your POST) requires the client to tell the server the expected length either via the Content-Length header or via chunked transfer encoding (which is currently not supported). Also, the data you're sending appears to be formatted like HTML form data, so you need to specify the correct Content-Type header like so:
As you can see in result, body wasn't received.
But it was my mistake. I forgot to add headers because i expected that Client will add necessary Headers. I suggest to add this to documentation.
Thank you.
I'm using this code to send a POST request but it's not working.
Result is
I know that i'm doing something wrong but i couldn't find solution.
The text was updated successfully, but these errors were encountered: