Obtaining Access Tokens
Introduction
Obtaining an access token is a crucial step in the OAuth 2.0 flow. With the received authorization code, the third-party application can obtain an access token, which is used for actual access to the application.
Example:
curl --location 'https://oauth2.covercard.hin.ch/covercard/servlet/\
ch.ofac.ca.covercard.CaValidationHorizontale?type=XML&langue=3&carte=\
<krankenkassen_karten_nr>&ReturnType=42a'
--header 'Authorization: Bearer <covercard_Access Token>'