I'm seeing really weird behavior. I've created a custom REST resource at the route /user/login-special
.
This is a passwordless login resource, so I pass the mail
address and then get a response that says Login email was sent!
However, when I POST to the https://abc-xyz-123.us-3.platformsh.site/user/login-special?_format=json
, I get the error:
{
"message": "No route found for \"GET https://www.abc-xyz-123.us-3.platformsh.site/user/login-special?_format=json\" (from \"https://abc-xyz-123.us-3.platformsh.site/user/login-special?_format=json\")"
}
The route definitely exists... what is going on? And why is it saying GET when I used POST?