Skip to content

Instantly share code, notes, and snippets.

@MaartenSmeets
Created October 27, 2018 10:04
Show Gist options
  • Save MaartenSmeets/8ad5a061bbf0b6af762a474fbad97019 to your computer and use it in GitHub Desktop.
Save MaartenSmeets/8ad5a061bbf0b6af762a474fbad97019 to your computer and use it in GitHub Desktop.
Curl command for basic auth request to tokenservice
curl -u tokenuser:Welcome01 -X POST -d "grant_type=client_credentials" http://localhost:7101/oauth2/resources/tokenservice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment