Hi Team,
I am getting web api bad request 400 for api call
However same api is working fine in Postman tool.
GetResponse throws an error (400) bad request.
However this api is used to get the bearer token.
string apiURL ="apiLink";
HttpWebRequest request (HttpWebRequest)WebRequest.Create(new Uri(apiUrl));
request.Method="POST";
requestContentType="application/x-www-form-urlencoded";
HttpWebResponse response = (HttpWebResponse)request.GetResponse();