-
-
Save Qijiang60/24e69758f273159d97ac06b8a6c93cf4 to your computer and use it in GitHub Desktop.
OAuth 1.0a Curl Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace oauth_consumer_key with your consumer key | |
# Replace oauth_token with your access token | |
# Replace oauth_signature with "your_consumer_secret%26your_access_token_secret" | |
# Note that the oauth_nonce must change and be unique for every request | |
curl -X GET 'https://yoursite.desk.com/api/v1/account/verify_credentials.json' -H 'Authorization: OAuth oauth_version="1.0",oauth_timestamp=1321473112,oauth_nonce=937459123,oauth_signature_method="PLAINTEXT",oauth_consumer_key="nMu4u9pLRfDrxhPVK5yn",oauth_token="ivouGxpsJbyIU5viPKOO",oauth_signature="vLr9MjzowzVwbvREpWhIVQMJQI0G7Pin6KHCoXak%26igQY0L2bcbwonZTC4kG5ulZxTMTDW0K0zIyceSuF"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment