Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

where clause with pointers columns via postman

I am having some issues getting where clauses to work via postman.

i am trying to send a get request to my collection of messages to retrieve all entries where = receiver id

i can't seem to format my request correctly

I have tried a few different ways

  1. where {"receiver": "535a7e77e4b07b9b72c55ea3"}'
    Image

  2. where{"receiver": {"collName": "users","id": "535a7e77e4b07b9b72c55ea3"}}
    Image

    I was able to get the curl request to work

    curl https://api.appery.io/rest/1/db/colle... -X GET -H "X-Appery-Database-Id: 5333288fe4b0fefcead6186e" -G --data-urlencode 'where={"receiver": {"collName": "users","id": "535a7e77e4b07b9b72c55ea3"}}'

    but the request via postman does not work

Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

where clause with pointers columns via postman

I have resolved the issue, the request needs to be encoding and postman is not encoding it

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

where clause with pointers columns via postman

Hello!

Thank you for update!

Return to “Issues”