解析查询在API资源管理器中工作,但不使用cURL

解析查询在API资源管理器中工作,但不使用cURL,curl,parse-platform,Curl,Parse Platform,我在API控制台(使用主键)中使用以下查询字符串对someClass运行了一个查询: 此查询返回两个ID的对象。然后,当使用“导出到卷曲”函数时,我得到: curl -X GET \ -H "Content-Type: application/json" \ -H "X-Parse-Application-Id: appId" \ -H "X-Parse-REST-API-Key: apiKey" \ -H "X-Parse-Master-Key: masterKey" \ -G \ --dat

我在API控制台(使用主键)中使用以下查询字符串对
someClass
运行了一个查询:

此查询返回两个ID的对象。然后,当使用“导出到卷曲”函数时,我得到:

curl -X GET \
-H "Content-Type: application/json" \
-H "X-Parse-Application-Id: appId" \
-H "X-Parse-REST-API-Key: apiKey" \
-H "X-Parse-Master-Key: masterKey" \
-G \
--data-urlencode "where={\"objectId\": {\"$in\": [\"id1\", \"id2\"]}}" \
https://api.parse.com/1/classes/someClass
但是,从终端运行此操作将返回:

{"results":[]}
排除where约束将正常返回
someClass
的所有对象


这里有什么问题?

where子句周围的单引号….'where={“objectI”:{“$in”:[“id1”,“id2”]}}谢谢,这解决了问题。
{"results":[]}