I was on a page that redirected me to my own web server (www.myserver.com) but the request was not a GET but a POST.
At first http://www.myserver.com couldn’t process the request because I just had a route handler for handling “GET /”. When I realized it could be a POST redirection (read about it on their guide) I created a route handler for “POST /” and the page was served.
Correct me if I’m wrong, so the browser COULD redirect to an url with POST?
The answer is YES but the browser is supposed to prompt the user. 302 is not except allowed for GET and HEAD but 307 is allowed for POST. From the HTTP RFC:
307 Temporary Redirect
What browser were you using?