curl --location --request POST 'https://api.gofive.co.th/authorization/connect/token' \ --header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=<Your-Client-Id>' \ --data-urlencode 'client_secret=<Your-Client-Secret>'
{ "access_token": "<access_token>", "expires_in": 3600, "token_type": "Bearer" }