Reputation: 314
I got
error: {"error":"Unexpected token ‘"}
with the curl
command
below.
What gives?
curl -X POST \
-H "X-Parse-Application-Id:SomeID" \
-H "Content-Type: application/json" \
-d ‘{“number”:"3016524500"}’ \
http://somedomain.com/parse/functions/testFunction
Please suggest.
Upvotes: 0
Views: 82
Reputation: 566
I think the issue is that you're using different characters than the actual ' and " characters. Try replacing ” with " and ‘ with '.
Upvotes: 1