Am 30.08.2012 20:28, schrieb Casey:
Curl command:
curl -i -XPOST -H "Content-Type: text/json"
http://localhost:8080/calc -d '{"val1": 1, "val2": 2}'
The correct mime type is "application/json" - don't ask me why, my
initial guess was also text/json ;)
I'll add an enforcement that gives a proper hint though, as the current
error message obviously does not help.