Example Code

An example of using the Request Token Check endpoint with curl is as follows:

curl --location 'https://oauth2.hin.ch/REST/v1/OAuth/GetTokenInfo' \
     --header 'Content-Type: application/x-www-form-urlencoded' \
     --data-urlencode 'token={access_token}' \
     --data-urlencode 'client_id={client_id}' \
     --data-urlencode 'client_secret={client_secret}'