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

18 Replies, 1099 Views

Thanks for all the tips, folks! Tried `-L --max-redirs 10 -v` and it worked like a charm. Turns out the server was doing a silly loop after 5 hops.

Still curious about the header stripping though—does `--location-trusted` mess with anything else? Might test that next.

Also, shoutout to the HTTPie suggestion—looks slick! Gonna give that a spin too.

You all rock! 🙌

Messages In This Thread



Users browsing this thread: 1 Guest(s)