Hi All,
I am calling refresh token api to refresh token. But when I call, It throws error "Invalid client: ".
I am calling using node js.Below is calling function.
request.post( { url : ringCentralUrl,
form: {
refresh_token : myRefreshToken,
grant_type : "refresh_token",
endpoint_id: endpointId
},
headers:{
"Authorization" : "Basic MyaccessToken",
'Accept':'application/json',
'Content-Type':'application/x-www-form-urlencoded'
}
},function(err,responce, responceData) {
});
Can anyone please help me out.
----
Thanks,
Mahesh More