Closed aclec closed 2 years ago
A log-in method always has to be a POST request, because it's not idempotent. If you look at the code, it's correctly implemented as a POST route:
Where in the docs did you read that a GET request should be used?
@mtrezza on the Rest api doc: https://docs.parseplatform.org/rest/guide/#user-impersonation
I transferred the issue to the docs repo. Would you mind opening a PR to correct the docs?
Sure, I'll do that
Closing via #897
New Issue Checklist
Issue Description
I'm trying to log by REST API with /loginAs and the answer is "Cannot GET /parse/loginAs". But it's working with POST request. Is it just an error in the documentation ?
Steps to reproduce
Make GET request on /loginAs like it's write on documentation.
Environment
Server
5.2.4
Linux
Local
Database
MongoDB
5
Local