curl -L changes POST to GET after 301 redirect
@lebyy▲ 0 net votes
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.
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.