HttpWatch Automation Reference - Version 13.x
HttpWatch Namespace / Request Class
Properties


In This Topic
    Request Class Members
    In This Topic

    The following tables list the members exposed by Request.

    Public Properties
     NameDescription
    Public PropertyReturns a Cookies object containing the list of cookies that were sent to the web server.  
    Public Property

    Returns a byte array containing the raw request body that was sent to the web server, e.g. the form data submitted in a POST request.

    If you need to access the request body as text use the Text property instead as it automatically converts into unicode characters.

     
    Public PropertyReturns a reference to a Headers object containing the list of HTTP headers that were sent to the web server.  
    Public PropertyGets the encoding scheme used in a POST request message.  
    Public PropertyReturns a POSTParameters object containing the list of parameters sent in a POST message.  
    Public PropertyReturns a QueryStringValues object containing the list of parameters encoded in the query string section of the URL.  
    Public PropertyGets the HTTP request line that was sent to the server, e.g. "GET / HTTP/1.1"  
    Public PropertyA byte array containing the raw HTTP request data (i.e. headers and request body).  
    Public Property

    Returns a string value containing the unicode version of the request body that was sent to the web server, e.g. the JSON encoded parameters in a POST request.

    For access to non-textual content (e.g. image sent as request body) use the Data property instead.

     

     
    Top
    See Also