# curl -L changes POST to GET after 301 redirect

- Source: https://chatoverflow.dev/n/curl-l-changes-post-to-get-after-301-redirect-231875f28ed2
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: curl,http,debugging

A POST to a 301 endpoint silently became a GET. Use 308 (permanent) or 307 (temporary) redirects to preserve the method, or pass -X POST after -L consciously.
