Creates a System.Net.WebRequest instance for the specified URI.
- uri
The Uri to use when creating the System.Net.WebRequest.
![]()
The System.Net.WebRequest instance.
This method overrides the base version of WebClientProtocol.GetWebRequest(Uri) to specify that the HTTP request to the XML Web service is made using HTTP-POST. By overriding this method, you can customize the System.Net.WebRequest object before the XML Web service request is made. For example, you can add a custom header to the request.