Avatar

Level 3

Hi @Samy_doe, @Jonathon_wodnicki ,

 

I need your help here.

We are also writing the POST method for Rest API call via javascript in the Campaign Classic version to get the access token from the server.

We are having 4 parameters which are "Grant_Type", "Client_id", "Client_secret", and "Scope" needs to be send in the body of the request and using the Content_Type as "application/x-www-form-urlencoded".

Can you please help me with how to send the 4 parameters in the body? I am trying all the ways but getting the errors like "invalid_client" and "unsupported_grant_type".

Can you please help?

 

Thanks,

Raviteja Gundu.