Skip to content

Instantly share code, notes, and snippets.

@rogernolan
Created March 3, 2014 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogernolan/9322218 to your computer and use it in GitHub Desktop.
Save rogernolan/9322218 to your computer and use it in GitHub Desktop.
curl -b cookies.txt -c cookies.txt -X POST -H "Content-Type: application/json" -d '{"email":1,"password":1}' ec2-54-195-205-27.eu-west-1.compute.amazonaws.com/login && curl -b cookies.txt -c cookies.txt "ec2-54-195-205-27.eu-west-1.compute.amazonaws.com/api/v1/meter/0021ed200016/history?from=123456&to=123456778989"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment