Skip to content

Instantly share code, notes, and snippets.

@packi
Created February 12, 2013 13:43
Show Gist options
  • Save packi/4769963 to your computer and use it in GitHub Desktop.
Save packi/4769963 to your computer and use it in GitHub Desktop.
packi@overlord:~$ curl -s https://user-api.squirro.com/oauth2/token \
-H 'Accept: application/json' \
-d grant_type=refresh_token \
-d refresh_token=3806c71b3bd520... | python -mjson.tool
{
"access_token": "a23424ff...",
"refresh_token": "3806c71b3bd520...",
"session_id": "vxn32764S3CQf7OTxVZpkA",
"tenant": "linkedin-vmr1SvM-kp",
"user_id": "Pbo1MPruTpe5Mj3skX7rwQ"
}
packi@overlord:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment