Skip to content

Instantly share code, notes, and snippets.

@edstenson
Forked from badmetacoder/auth-googleplus
Created September 10, 2013 14:45
Show Gist options
  • Select an option

  • Save edstenson/6510480 to your computer and use it in GitHub Desktop.

Select an option

Save edstenson/6510480 to your computer and use it in GitHub Desktop.
auth=[
{
"parameters": {
"value": "kfDecg0a9le3f...",
"refresh_token": "fewfEWFEWF9Ddadw..."
}
}
]
# flatten before URL-encoding
auth=[{"parameters":{"value":"kfDecg0a9le3f...","refresh_tok ...
# URL-encode
auth=%5B%7B%22parameters%22%3A%7B%22value%22%3A%22kfDecg0a ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment