I am trying to send a POST request to get the access_token using the following pattern of URL taken from https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/. How to get the parameter grant_type.
curl --request POST \ --url 'https://auth.atlassian.com/oauth/token' \ --header 'Content-Type: application/json' \ --data '{"grant_type": "authorization_code","client_id": "YOUR_CLIENT_ID","client_secret": "YOUR_CLIENT_SECRET","code": "YOUR_AUTHORIZATION_CODE","redirect_uri": "https://YOUR_APP_CALLBACK_URL"}'