pub.flow:HTTPRequest
WmPublic. Document type used to represent information about the HTTP request received by the Integration Server.
Parameters
headers | Document Contains the header fields from the HTTP request. |
requestURL | String URL used by the client to invoke the service. |
method | String HTTP method used by the client to request the top-level service. Possible values are GET, PUT, POST, PATCH, and DELETE. |
Usage Notes
To get the details of an HTTP request for a service, you can add a document reference variable named $httpRequest that references the pub.flow:HTTPRequest document type in the input signature of a service. While invoking a service that includes a $httpRequest document reference variable, Integration Server populates the $httpRequest variable with information from the from the HTTP request.
Note: The variable name $httpRequest is case sensitive. To achieve the described behavior, you must use the exact combination of letters and symbols, including upper and lower case.