How to Use curl Follow Redirect Verbose for Debugging? or Why Isn't curl Follow Redirect Verbose Show

18 Replies, 1784 Views

Hey! Yeah, curl follow redirect verbose can be a bit sneaky sometimes. The `-v` flag shows headers, but if you want *every* redirect step, try adding `--max-redirs 20` (or some high number) to make sure it doesn't bail early.

Also, `curl -v -L -w "%{url_effective}\n" http://example.com` might help—it prints the final URL after all hops.

For cleaner output, tools like `httpie` or even browser dev tools (Network tab) might be easier to follow.

Messages In This Thread



Users browsing this thread: 1 Guest(s)