1. Create an aspx page
2. Paste below code in page load event.
- var url = "www.your-url.com";//Paste ur url here
-
- WebRequest request = HttpWebRequest.Create(url);
-
- WebResponse response = request.GetResponse();
-
- StreamReader reader = new StreamReader(response.GetResponseStream());
-
- string responseText = reader.ReadToEnd();
-
- //if your response is in json format just uncomment below line
-
- //Response.AddHeader("Content-type", "text/json");
-
- Response.Write(responseText);