I’m confused

Updating a User

Good Afternoon,
In my app, you register and then you can go to the profile screen to change everything you signed up with (username, FirstName, LastName, PhoneNumber, Address, Town, Postcode, State & selectedDealer).

I have the information displaying just perfectly, but I am unsure as too how to update the user information in the database. I am sure I create a new service and from my readings;

https://docs.appery.io/reference#socialogin-islogged
&
curl -X PUT \
-H "X-Appery-Database-Id: " \ -H "X-Appery-Session-Token: <session_token>" \ -H "Content-Type: application/json" \ -d "{\"username\":\"<user_name>\",\"password\":\"<user_password>\"}" \ https://api.appery.io/rest/1/db/users/<user_id>;

I am left confused and unsure of the next step.
Can someone point me in the correct direction?

I am not confident in using 'server script' right now, I would rather stick to using database services or REST services.

Thank you,
1 person has
this question
+1
Reply