Skip to content

Instantly share code, notes, and snippets.

@krujos
Created June 4, 2016 04:02
Show Gist options
  • Save krujos/0c3515dc6553f241955635a7a28ff196 to your computer and use it in GitHub Desktop.
Save krujos/0c3515dc6553f241955635a7a28ff196 to your computer and use it in GitHub Desktop.
curl -i http://uaa.local.pcfdev.io/oauth/token \
-d grant_type=password \
-d username=admin \
-d password=admin \
-d scope= \
-H "Authorization: Basic Y2Y6" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" -X POST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment