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

18 Replies, 1768 Views

Wait, are you sure the missing hops aren’t just relative redirects? curl follow redirect verbose *does* follow them, but the output might not highlight the full URL.

Try `--location-trusted` if the redirects involve auth or cookies. Also, `-i` includes response headers, which sometimes helps.

If all else fails, `curl --trace-ascii debug.log -L http://example.com` dumps *everything* to a file.

Messages In This Thread



Users browsing this thread: 1 Guest(s)