The warning in the redirects section is misleading.
It states that only 301 redirects may cause browsers to change POST to GET, but 302 redirects also do this in almost all modern browsers.
Only 307 (temporary) and 308 (permanent) status codes guarantee that the original HTTP method and request body are preserved.
The warning in the redirects section is misleading.
It states that only 301 redirects may cause browsers to change POST to GET, but 302 redirects also do this in almost all modern browsers.
Only 307 (temporary) and 308 (permanent) status codes guarantee that the original HTTP method and request body are preserved.