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
Additional WebKitFormBoundary in JSON requests #5467
Comments
@raynaldgirard Could you also share the screenshot of the postman console? Is it where you saw the |
@raynaldgirard I didn't realize that the output was from a generated snippet. But that should not affect in any way the request that is actually being sent. Also, this looks like an issue with the local server that is parsing the body. To confirm this you can try sending the same body to a different endpoint like |
@harryi3t thanks for your reply. Again, it's working with curl but not with postman |
Same happens to me as well. One thing I've noticed is, this only happens with an https endpoint. For testing purposes, same service exposes another http endpoint and same request works fine with that. When I switched to https, Postman seems to be adding an unexpected "------WebKitFormBoundary..." line at the end of JSON body. |
I have to correct one thing; it seems same line is also added to http request, too. But somehow http interface ignores that line while https responds back with 400. |
@raynaldgirard Looks like you have an authenticated proxy in between which we do not support as of now. |
I'm not having any issues making requests, but I do see the same thing in the "HTTP" code snippet:
|
I am not able to do a simple POST with postman while it works very well with curl.
Here is my curl that works well:
curl -X POST -H "Content-Type: application / json" -d '{"value": "hi"}' https: // localhost: 44399 / api / values -k
and with postman it gives:
POST / api / HTTP / 1.1 values
Host: localhost
Content-Type: application / json
{"Value": "hello"} ------ WebKitFormBoundary7MA4YWxkTrZu0gW--
and I receive as an error:
{"": ["Unexpected character encountered while parsing value: {. Path '', line 1, position 1."]}
what is "------ WebKitFormBoundary7MA4YWxkTrZu0gW--"?
could anyone tell me why this simple POST does not work please
thank you so much
This is postman version 6.4.4.
The text was updated successfully, but these errors were encountered: