Last active
August 29, 2015 14:06
-
-
Save mwunsch/7966ea7a18883a305781 to your computer and use it in GitHub Desktop.
Upload from shell to http://www.puthtml.com/
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
puthtml () | |
{ | |
curl -F "file=@${1:--};filename=${1:-`uuidgen`.html}" \ | |
-F "api_key=${2:-$PUTHTML_API_KEY}" \ | |
http://www.puthtml.com/; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment