Methods
-
P_custom_header(name, value)
Set an HTTP header for the response of a composite API
-
Parameters:
Name Type Description namestring Name of the header valuestring Value of the header -
set_status(code, name, description)
Set the return HTTP status of a composite API.
-
Parameters:
Name Type Argument Description codeinteger Numerical value of the code. It is strongly recommended to use a valid HTTP code. See the W3C specification for more information on status code standard definition. namestring <optional>
Customized name of the status descriptionstring <optional>
Customized description for the status Example
${set_status(200)} ${set_status(200,"Success","Your own description")}