Created
September 4, 2015 02:24
-
-
Save scytacki/a25fd0e6f9b305b52687 to your computer and use it in GitHub Desktop.
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
echo "content="$(cat post-content.html | python -c 'import sys,urllib;print urllib.quote(sys.stdin.read().strip())') | curl 'http://snapshot.concord.org/shutterbug/make_snapshot' -H 'Origin: http://concord-consortium.github.io' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.8,es-419;q=0.6,es;q=0.4' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept: */*' -H 'Referer: http://concord-consortium.github.io/lara-interactive-api/' -H 'Connection: keep-alive' --data 'css=%3Clink+rel%3D%22stylesheet%22+href%3D%22css%2Fapp.css%22%3E&width=500&height=400&base_url=http%3A%2F%2Fconcord-consortium.github.io%2Flara-interactive-api%2F&format=png&quality=1' --data @- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment