Parse.com: Filter lines that have a term in a column

Asked

Viewed 86 times

0

I want the API of Parse.com return only the lines that have a certain word, simulating a query in the table.

Table example: inserir a descrição da imagem aqui

The comfort I tried

curl -X GET \
  -H "X-Parse-Application-Id: ${APPLICATION_ID}" \
  -H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
  -G \
  --data-urlencode 'where={ "body": { "$in": [ "Google" ] } }' \
  https://api.parse.com/1/classes/posts

In the example, only the lines that have "Google" in the column Body would be returned to the site.

  • And what’s the problem?

  • parse is not returning results. As if the $in operator was not appropriate for this function.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.