Hello!
Any idea how I can map parse request parameters for updating user information in my app?
Here's the example they give at https://parse.com/docs/rest#users-upd...
precode
curl -X PUT \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
-H "X-Parse-Session-Token: pnktnjyb996sj4p156gjtp4im" \
-H "Content-Type: application/json" \
-d '{"phone":"415-369-6201"}' \
https://api.parse.com/1/users/g7y9tkhB7O
/code/pre
How do i dynamically put the user objectId on the URL?
Like in the example above "g7y9tkhB7O" is the user objectId on the URL https://api.parse.com/1/users/g7y9tkhB7O
I've tried using request parameter "where" and mapping it from a local storage variable and added this custom code return '{"objectId":"'+value+'"}';
But when i test my app on phone, the moment i hit the update button on the form, it shows the loader but gets stuck there forever.