0.1 - Get Access Token

POST {{anypoint_host}}/accounts/api/v2/oauth2/token

This request : - gets accestoken for the connected app that I have created in Anypoint Platform. - sets the accestoken Qodex environment variable to use for the following requests

client credentials grant type

Request Body

[{"name"=>"client_id", "value"=>"{{connected_app_id}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{connected_app_secret}}", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring