我得到了
错误:{"error":"Unexpected token ‘"}
下面有curl
command
。
是什么给出了?
curl -X POST \
-H "X-Parse-Application-Id:SomeID" \
-H "Content-Type: application/json" \
-d ‘{“number”:"3016524500"}’ \
http://somedomain.com/parse/functions/testFunction
请建议。
答案 0 :(得分:1)
我认为问题在于您使用的字符与实际字符不同。和"字符。尝试用"替换和'与'。