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

I know that in a php script:

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

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

3 s
3

Leave a Comment