diff --git a/_includes/rest/users.md b/_includes/rest/users.md index e08c8b1d..69c01031 100644 --- a/_includes/rest/users.md +++ b/_includes/rest/users.md @@ -629,7 +629,7 @@ Calling the endpoint requires the master key and it returns the same response fo
-curl -X GET \
+curl -X POST \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
-H "X-Parse-Master-Key: ${MASTER_KEY}" \
@@ -643,7 +643,7 @@ import json,httplib,urllib
connection = httplib.HTTPSConnection('YOUR.PARSE-SERVER.HERE', 443)
params = urllib.urlencode({"userId":"abc123"})
connection.connect()
-connection.request('GET', '/parse/loginAs?%s' % params, '', {
+connection.request('POST', '/parse/loginAs?%s' % params, '', {
"X-Parse-Application-Id": "${APPLICATION_ID}",
"X-Parse-REST-API-Key": "${REST_API_KEY}",
"X-Parse-Master-Key": "${MASTER_KEY}",