Chapter 11 Advanced Policies: Sending HTTP Service Callouts to Applications 189
Attribute-based
request to send to the
server (mutually
exclusive with
sending an
expression-based
request to the server)
HTTP Method (httpMethod).
Method used in the HTTP request that this callout sends. Valid
values: GET or POST. Default: GET.
Host expression (hostExpr).
Advanced text expression to configure the Host header.
Maximum length: 255.
The expression can contain a literal value or it can be an advanced
expression that derives the value. Examples:
"10.101.10.11"
"http.req.header("Host")"
URL stem expression (urlStemExpr)
An advanced string expression for generating the URL stem.
Maximum length: 8191.
The expression can contain a literal string or an expression that
derives the value. Examples:
""/mysite/index.html""
"http.req.url"
HTTP Headers (headers).
Advanced text expression to insert HTTP headers and their
values in the HTTP callout request.
You must specify a value for every header. You specify the
header name as a string and the header value as an advanced
expression.
Query Parameters (parameters).
Advanced expression to insert query parameters in the HTTP
request that the callout sends.
You must specify a value for every parameter that you configure.
If the callout request uses the GET method, these parameters are
inserted in the URL. If the callout request uses the POST method,
these parameters are inserted in the POST body.
You configure the query parameter name as a string and the value
as an advanced expression. The parameter values are URL
encoded.
Elements in an HTTP Callout Policy
Parameter Specifies