I am encounter a parsing error when following the Apache Usergrid documents when creating a new application.
curl -H "Authorization: Bearer <authorization token>" -H "Content-Type:
application/json" -X POST -d '{ "name" : "resturantapp" }' http://localhost:8080
/management/orgs/ResturantOrg/apps
The instruction that I am following are:
curl -H "Authorization: Bearer [the management token from above]" \
-H "Content-Type: application/json" \
-X POST -d '{ "name":"myapp" }' \
http://localhost:8080/management/orgs/myfirstorg/apps
But the error that I am getting is: curl: (3) [globbing] unmatched close brace/bracket at pos 14 {"error":"json_parse","timestamp":1410189449209,"duration":0,"exception":"org.co dehaus.jackson.JsonParseException","error_description":"Unexpected character ('n ' (code 110)): was expecting double-quote to start field name\n at [Source: org. apache.usergrid.rest.filters.MeteringFilter$InputStreamAdapter@5ce201; line: 1, column: 4]"}
I cannot see where I am typing in the Unexpected character.