尝试POST到AWS端点时出现卷曲错误

时间:2017-02-01 04:12:15

标签: amazon-web-services curl post parse-platform

我得到了

错误:{"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

请建议。

1 个答案:

答案 0 :(得分:1)

我认为问题在于您使用的字符与实际字符不同。和"字符。尝试用"替换和'与'。