mirror of
https://github.com/yuriskinfo/cheat-sheets.git
synced 2025-12-21 21:33:25 +01:00
Fixing curl cookbook
This commit is contained in:
@@ -160,6 +160,7 @@ AS | IP | AS Name
|
|||||||
|
|
||||||
|
|
||||||
== Make sure curl follows redirections (`Location:`) automatically, using the correct `Referer` on each redirection
|
== Make sure curl follows redirections (`Location:`) automatically, using the correct `Referer` on each redirection
|
||||||
|
Use `-L` option to tell curl to follow the _Location_ header.
|
||||||
|
|
||||||
----
|
----
|
||||||
curl -L -e ';auto' -o index.html https://example.com
|
curl -L -e ';auto' -o index.html https://example.com
|
||||||
|
|||||||
Reference in New Issue
Block a user