| setpolicyhttpcallout_hostexpr |
Use this method to set string expression to configure the Host header. Can contain a literal value (for example, 10.101.10.11) or a derived value (for example, http.req.header("Host")). The literal value can be an IP address or a fully qualified domain name. Mutually exclusive with the full HTTP request expression. |
Syntax |
Parameters |
name |
Name of the HTTP callout to configure. This is mandatory parameter. |
hostexpr |
String expression to configure the Host header. Can contain a literal value (for example, 10.101.10.11) or a derived value (for example, http.req.header("Host")). The literal value can be an IP address or a fully qualified domain name. Mutually exclusive with the full HTTP request expression. |
Return Value |
Returns simpleResult |
See Also |