oauth2-client-demo/scripts/test_access_token.sh
2020-03-02 21:36:58 -08:00

5 lines
No EOL
254 B
Bash
Executable file

curl -G https://visibility.amp.cisco.com/iroh/profile/whoami \
--header "Accept: application/json" \
--header "application/json; charset=UTF-8" \
--header "User-Agent: ob-http" \
--header "Authorization: Bearer <YOUR_ACCESS_TOKEN_HERE>" \