For authorization at DRchrono, I had created a GET request at https://drchrono.com/o/authorize/ with a redirect URL and clientId, as soon as I click on authorize I redirect to my redirect URL with code value in params,
then I made a POST request on https://drchrono.com/o/token/ via postman with this
{
"code":"x4xzqXXjlBWeeQxEzjyE8thFTIW0eT",
"grant_type": "authorization_code",
"redirect_uri": "",
"client_id": " ",
"client_secret": ""
}
client_id and client_secret value taken from DrChrono API management page. After making a post instead of getting the access token, I get "400 bad requests" in response. I am not getting what that thing I am missing.
for doing all this thing I followed DRchrono official document : https://drchrono.com/api-docs/v4?application=4217#section/Authorization/Initial-authorization
Can anyone help me with this??