Using curl by default will return the response of a request as-is. If the response is a redirect, you can tell curl to follow the redirect with the -L option, e.g.
curl -L http://some.site
To use curl to download a file, use the -O option.
Articles, notes and random thoughts on Software Development and Technology
Using curl by default will return the response of a request as-is. If the response is a redirect, you can tell curl to follow the redirect with the -L option, e.g.
curl -L http://some.site
To use curl to download a file, use the -O option.