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
However, when examining the resulting response from my API, I notice that the headers being sent have an escape slash, i.e.
"application\/json"
instead of
"application/json"
This is extremely annoying, and I can't figure out why my header is being escaped. My API is denying every request because it does not match the required header. Please assist in resolving this issue.
If needed, I can supply a full JSON output from my API with the understood request headers for clarification.
The text was updated successfully, but these errors were encountered:
lucasantarella
changed the title
Added escape characters to the Content-Type header and Accept header when sending JSON Post
Added escape characters to the Content-Type header and Accept header when sending JSON Post - Version 1.4.9
Apr 9, 2016
Hello,
My API requires that a POST request specify 1 of 2 content types: application/json or application/xml.
When performing a request, I add the accept header like so:
However, when examining the resulting response from my API, I notice that the headers being sent have an escape slash, i.e.
instead of
This is extremely annoying, and I can't figure out why my header is being escaped. My API is denying every request because it does not match the required header. Please assist in resolving this issue.
If needed, I can supply a full JSON output from my API with the understood request headers for clarification.
The text was updated successfully, but these errors were encountered: