Hi All,
I want to develop asp.net web-site by using API provided by cleartrip. I used that API but every time I received the response as bad request. Please help me to soulve the issue.
Here is my Code:-
HttpWebRequest req = (HttpWebRequest)WebRequest.Create();
req.Method = "Get";
req.Headers.Add("X-CT-API-KEY", "MYAPIKEY");
HttpWebResponse oResponse;
oResponse =(HttpWebResponse) req.GetResponse(); Plese check the attached file for erroe details. (BAD REQUEST].
Thanks