Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
curl for a github oauth token (sanitized)
[trey|d3v ~/git/gister]% curl -u 'your_user_name' -d '{"scopes":["gist"],"note":"gister script test"}'
"created_at": "2012-01-08T03:19:47Z",
"app": {
"url": "",
"name": "gister script test (API)"
"note": "gister script test",
"url": "",
"token": "34v098n3gv09n8345983458g493fm2fm245n03v",
"updated_at": "2012-01-08T03:19:47Z",
"scopes": [
"note_url": null,
"id": 102557
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.