Page 1 of 1

Need help with updating user columns using REST service.

Posted: Tue Sep 15, 2015 6:10 pm
by sebastian

So I've been able to successfully get user info using a rest service but updating has been a challenge.
I used this link
https://devcenter.appery.io/documenta...

and did some research on the getsatisfication.

So I think one way I could go about updating user info is through a dynamic rest url so I can place the users _id at the end of the url link.

https://api.appery.io/rest/1/db/users...

/rest/1/db/users/_id

I like to use the _id as a variable and plug in the user _id from localstorage while the the app is running.


Need help with updating user columns using REST service.

Posted: Wed Sep 16, 2015 5:27 am
by Serhii Kulibaba

Hello Sabastian,

Please add use this URL:

https://api.appery.io/rest/1/db/users...

and add request parameter "userId".

Appery.io will replace it to user's ID, which you send to the "userId" parameter automatically


Need help with updating user columns using REST service.

Posted: Wed Sep 16, 2015 8:01 pm
by sebastian

I'm not having any luck? Any change you could show me with some screen shots bc when I test I get error messages and I mess around with it for a bit.


Need help with updating user columns using REST service.

Posted: Wed Sep 16, 2015 8:17 pm
by sebastian

Actually I think I got it working. Thanks.


Need help with updating user columns using REST service.

Posted: Wed Sep 16, 2015 8:48 pm
by Evgene Karachevtsev

Hello Sebastian,

Thank you for the update.