When I try to submit this, the sever sends me back the message
"Unexpected token t in JSON at position 1".
And it'll do that with whatever the first non { non " character is. If I input {"": ""} it'll say
"Unexpected token : in JSON at position 1".
This is my code .
curl -H "Content-Type: application/json" -d {"test": "test"} url
I've tried other variants of putting quotes around it and escaping quotes to no avail, but if you think that's the issue feel free to suggest a format.