Closed jpambrun closed 6 years ago
You need to send the content type header
Thanks. That indeed worked.
When testing/evaluating this project, I simply copy-pasted the example curl changing the -d option to @myusefulfile.json without thinking too much. I think you should consider adding the missing -H 'Content-Type: application/json'
to the readme.
yields :
However,
JSON.parse('[{"obj":1},{"obj":[123, 134]}]')
in the browser works perfectly fine.