我正在尝试集成shippo API来跟踪我的货件信息a,这是我发送的CURL请求
curl https://api.goshippo.com/v1/tracks/ -H "Authorization: ShippoToken <TOKEN>" -H "Content-Type: application/json" -d {"tracking_number":"<TRACKING_NUMBER>"}但我发送的响应如下
{"detail": "JSON parse error - Expecting property name enclosed in double quotes: line 1 column 2 (char 1)"}有谁能告诉我可能出了什么问题吗?
发布于 2016-07-05 15:54:47
下面是如何解决这个问题的
curl -H“授权: ShippoToken”-H“内容类型:应用程序/json‘{"carrier":"","tracking_number":""}’https://api.goshippo.com/v1/tracks/
https://stackoverflow.com/questions/38197893
复制相似问题