curl -X GET \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-Master-Key: ${MASTER_KEY}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
-G \
--data-urlencode 'where={"playerName":"Sean Plott"},distinct=score' \
https://YOUR.PARSE-SERVER.HERE/parse/aggregate/GameScore
Doesn’t seem to work correctly.
For example, when I query:
curl -X GET \
-H "X-Parse-Application-Id: xxxx" \
-H "X-Parse-Master-Key: xxxx" \
-G \
--data-urlencode "distinct=email" \
http://localhost:1337/aggregate/notification
Everything works correctly, however the moment I add where
:
curl -X GET \
-H "X-Parse-Application-Id: xxxx" \
-H "X-Parse-Master-Key: xxxx" \
-G \
--data-urlencode "where={\"email\":\"[email protected]\"},distinct=email" \
http://localhost:1337/aggregate/notification
I get error:
{
"code": 1,
"message": "Internal server error."
}
Did I mess something up or there is a problem?
Thanks.