I’m gonna summarise the question here, but the code and detailed
is best described at StackOverFlow:
I’m POSTing/PATCHing a JSON to a rails API endpoint with key-value pairs
HTML, CSS, JS and HEAD.
The values contain raw html, raw css, raw js with special characters
%, @, &, ; that rails probably doesn’t like. The parser is currently
removing these special characters and it kind of screws up the data
Is there a way to let in incoming JSON as is, through the rails’ JSON