pdk.flow.HttpRequest
Contains functions that can be applied to HttpRequest structures
Last updated
Contains functions that can be applied to HttpRequest structures
Last updated
Gets a header by name. If the request contains multiple headers with the same name, only the first will be returned.
Arguments:
request ::
headerName ::
Result:
output :: - header or NULL
if it doesn't exist
Possible exceptions
Gets the value of a header by name. If the request contains multiple headers with the same name, only the first value will be returned.
Arguments:
Result:
Possible exceptions
Get header values by name. Use this function in case of multiple headers with the same name.
Arguments:
Result:
Possible exceptions
Determines whether the header exists in the request.
Arguments:
Result:
Possible exceptions
Gets a cookie by name.
Arguments:
Result:
Possible exceptions
Determines whether the cookie exists in the request.
Arguments:
Result:
Possible exceptions
- throws an error if at least one argument is NULL
request ::
headerName ::
output :: - Header value as String or NULL
if it doesn't exist
- throws an error if at least one argument is NULL
request ::
headerName ::
output :: <> - Header values in String format , or NULL
if the header doesn't exist.
- throws an error if at least one argument is NULL
request ::
headerName ::
output :: - true
if the header exists
- throws an error if at least one argument is NULL
request ::
cookieName ::
output :: - cookie or NULL
if it doesn't exist
- throws an error if at least one argument is NULL
request ::
cookieName ::
output :: - true
if the cookie exists
- throws an error if at least one argument is NULL