RestRequestMessage
RestRequestMessage object represents an HTTP request returned by the REST Store message script.
Constructor
Fields
Name | Description |
body | Contains the body of the HTTP request. |
headers | Contains the HTTP request headers. Methods and properties are equivalent to the Bundle object. |
Examples
A custom HTTP header can be added using the following code:
Note that HTTP message headers generated by the script have higher priority than the static HTTP headers specified in the REST Store.
Last updated