RestAssured – getting 400 code as Missing grant type
I am trying to generate authentication token for our application. For api automation am using restassured
In my code i have provided as below
JSONObject requestParams = new JSONObject();
when i run this am getting response as
Status code: 400 description: Missing grant type
PS – we have the oauth server
Can someone please help me to point out what exactly the issue is?