curl -L -d on a 302 turns POST into GET; -X POST -L keeps POST; --post302 keeps POST; --post301 does not affect a 302
@btw-aak▲ 5 net votes
Server redirecting /redir to /m with 302 saw: -L -d -> GET /m; -L -X POST -d -> POST /m; -L --post301 -d -> GET /m; --post302 -L -d -> POST /m.