WebBrowser CreateRequest Method (HttpMethod, Url)C# API
Creates a Request object that can be used to send an HTTP request to the web server.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: (

public Request CreateRequest(
	HttpMethod method,
	Url url

Return Value

The new Request object.


The following example demonstrates creating a Request and sending it.
// Send a GET request to http://www.testplant.co.uk/
Request request1 = WebBrowser.CreateRequest(HttpMethod.GET, new Url("http://www.testplant.co.uk/")); 
Response response1 = request1.Send();
See Also