Skip to content

Instantly share code, notes, and snippets.

@jayd3e
Created October 3, 2014 16:52
Show Gist options
  • Save jayd3e/90dfbb268ccdda99fc9d to your computer and use it in GitHub Desktop.
Save jayd3e/90dfbb268ccdda99fc9d to your computer and use it in GitHub Desktop.
curl -c cookies -XGET http://localhost:6543/api/1/login
curl -b cookies -XGET http://localhost:6543/api/1/posts
rm cookies
curl -XGET http://localhost:6543/api/1/posts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment