Created
December 18, 2018 06:31
-
-
Save jw-foss/2239d318819ef1bc95da10777bf0dacc to your computer and use it in GitHub Desktop.
Curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export COOKIE_JAR='cookie-jar' | |
| function _curl () { | |
| curl --insecure -b $COOKIE_JAR -c $COOKIE_JAR -s "$@" | |
| } | |
| export -f _curl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment