Get the value of request header.
Text
- Specifies the header name (e.g. Content-Type
).Text
- Specifies the variable, that will be filled with header value, if the header was found.Boolean
- True if the header was found, false otherwise.
//Check and get the header value
if not ApiScriptRWU.GET_REQUEST_HEADER('Content-Type',HeaderValue) then
Error('Request should contain Content-Type header');