Is there a way to follow redirects with command line cURL?

Use the location header flag:

curl -L <URL>

Leave a Comment