Tag Archives: curl

Using a Proxy With Curl

By | 2020-11-21

Using a proxy with Curl is straightforward and flexible. There are a few methods you can use. You can specify the proxy URL on the command line, or set the appropriate environment variable. Using -x This is the most straightforward way to use a proxy server with curl. Using the -x option guarantees that you… Read More »

Following Redirects With Curl

By | 2020-11-12

The curl command is a great tool with a lot of uses. When used for HTTP, it doesn’t follow redirects. However, following redirects with curl is easy. If you are in a hurry, the short answer is the -L option: $ curl http://tylersguides.com > tylersguides.html % Total % Received % Xferd Average Speed Time Time… Read More »