How do I get a list of users accounts from the database? I see I can import Login/LogOff/SignUp but I don't see anything for getting a users list.
How do I get a list of users accounts from the database? I see I can import Login/LogOff/SignUp but I don't see anything for getting a users list.
Hi Alex,
Please take a look here:
:: http://docs.appery.io/documentation/b...
Ok, I am missing something here. How do I create a custom service to do this? Do you have a tutorial? Also how do create a custom service for these CURL commands?
Hello Alex,
Please see here http://docs.appery.io/documentation/r...
Most every tutorial has services settings http://docs.appery.io/tutorials/
I am still having difficulty understanding how to create a custom service. Could you create one in the test project in my account? Thanks
Could you show us what exactly you tried and what doesn't work?
I created a custom service with that url but am getting this error when I test it:
"status":"401 Unauthorized",
"url":"https://api.appery.io/rest/1/db/users",
"response":{
"code":"DBUQ001",
"description":"unauthorized"
}
This is the steps what you should do:
Create Users data collection.
http://docs.appery.io/documentation/b...
http://docs.appery.io/tutorials/build...
Create login service. You need this service to get sessionToken
http://docs.appery.io/documentation/b...
Create REST service with parameters
http://docs.appery.io/documentation/b...
Please make sure that you use correct sessionToken in your service request parameter "X-Appery-Session-Token".
Could you also add service request tab screenshot?
Hello! Have you specified valid sessionToken while testing? What error you have when test?