Created
April 29, 2016 15:04
-
-
Save stianl/ed9a114612bee0c424acaed4183d74f2 to your computer and use it in GitHub Desktop.
Fetch HTML value with curl
This file contains 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
# TODO: Get rid of last quotation mark output | |
$ curl -s http://localhost:8080/|grep -oP '_csrf" value="\K.*"'`' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment