What’s the Best curl Option to Handle Redirects? or How Do You Use the --data curl Option for POST Re

18 Replies, 1116 Views

`-L` works, but if it’s not catching all redirects, maybe the server’s using meta-refresh or JS? curl won’t follow those—you’d need a browser or something like `puppeteer`.

For pure HTTP redirects, `-L` + `-v` should show you what’s up. If it’s still not working, drop the URL here and we’ll poke at it.

Messages In This Thread



Users browsing this thread: 1 Guest(s)