| setpolicyhttpcallout_headers |
Use this method to set one or more headers to insert into the HTTP request. Each header is specified as "name(expr)", where expr is an expression that is evaluated at runtime to provide the value for the named header. You can configure a maximum of eight headers for an HTTP callout. Mutually exclusive with the full HTTP request expression. |
Syntax |
Parameters |
name |
Name of the HTTP callout to configure. This is mandatory parameter. |
headers |
One or more headers to insert into the HTTP request. Each header is specified as "name(expr)", where expr is an expression that is evaluated at runtime to provide the value for the named header. You can configure a maximum of eight headers for an HTTP callout. Mutually exclusive with the full HTTP request expression. |
Return Value |
Returns simpleResult |
See Also |