-
Notifications
You must be signed in to change notification settings - Fork 710
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
Posting body as JSON escapes the content #177
Comments
@jryd Sure, will add configuration to disable the escaping of HTML on JSON encoder/content-type. |
@jryd I have added an option |
Making |
@jeevatkm sorry for the late reply. Have tried using this in the v1.9.0 release and it looks like it is working well! |
@jryd No worries, Thanks for the confirmation. |
I am using this library to post a collection of products to an API.
Some of the names of the products have special characters (e.g '&') and these are escaped using the below request:
Example:
Product name is
Super Awesome & Fun
When posted with the above example request, it is sent as
Super Awesome \u0026 Fun
.Looking at this StackOverflow answer: https://stackoverflow.com/a/39079238/1739852 it looks like it is possible to disable the HTML escaping on the encoder:
e.g
Would it be possible to add this as a configuration option to disable the escaping of HTML?
The text was updated successfully, but these errors were encountered: