I want to create a WEB API that will accept a url and return the url's "HTML" page. Please how should I do this? I believe I have the wrong code. HI am so new to this. Thanks*
public HttpResponseMessage Get()
{
var response = new HttpResponseMessage();
response.Content = new StringContent("https://myurl.com");
response.Content.Headers.ContentType = new MediaTypeHeaderValue("text/html");
return response;
}