Get or Refresh access token by different grant_type
Post the necessary fields for the API to get or refresh a new access token.
when grant_type is authorization_code, code is required
when grant_type is refresh_token, refresh_token is required