POST request turns into GET request
I was firing login request to my API but I could not get it to return the correct response.
Upon investigation, it turns out that the API received a GET request while I issued a POST request with Postman.
The issue? I was sending the POST request to http while the API was listening on https!
It turns out that the request was forwarded to the https address as a GET request…
Solution: send requests to the https address