V
Posts: 0
Joined: Tue May 13, 2014 2:06 pm

Implimenting Database FIND operation in C#

Hi,
I am trying to implement Data collection FIND using c# (Web Request). From what I understand so far, GET is a url with parameters so I am not sure how CURL constructs the URL with GET and WHERE clause in the URL.
When I click on Query, I get

curl -X GET \
-H "X-Appery-Database-Id: ****************************************" \
[-H "X-Appery-Session-Token: "] \
-G --data-urlencode 'where={"":""}' \
https://api.appery.io/rest/1/db/colle...

in Run Query I type
{"MeetDemand":"N"}

and run the query, and I get the correct result.

I am trying to do this exact operation in C# using Web Request.

Any help or corrections in what I understand is greatly appreciated.

I have masked the database ID for privacy reasons.
Thanks. -V-

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Implimenting Database FIND operation in C#

Hello,

Try implementing your get request as it's stated here: http://stackoverflow.com/questions/21...
Note: where parameter must be urlencoded.
Here you can find example how to make curl request via php: https://getsatisfaction.com/apperyio/...

Return to “Issues”