• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Name

GetHTTPRequestData

Synopsis

                   GetHTTPRequestData( )

Returns a structure containing the HTTP request headers and body available to the current page. This function is especially useful for parsing Simple Object Access Protocol (SOAP) requests, which are often passed in the HTTP header. The structure returned by GetHTTPRequestData( ) contains the following keys:

Headers

Structure containing all the HTTP request headers as key/value pairs.

Content

If the current page is accessed via a form post, Content contains the raw content (string or binary) of the form post; otherwise it is blank. In order to be considered string content, the value of the content_type request header must be “application/x-www-form-urlencoded” or must begin with “text/”. All other content types are automatically stored as binary objects. Because of this, you should first use the IsBinary( ) function when evaluating Content. You may also consider using the ToString( ) function to convert binary data stored in Content to a string value that can then be displayed.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint