RW_SET_HEADER Subroutine

A subroutine supplied as part of the RealWeb package can be used to set the HTTP error code returned from a RESTful subroutine.

Syntax

CALL RW_SET_HEADER(http_header_name, value)

Syntax Elements

http_header_name

Valid HTTP header name, for example, "Authorization”.

value

Value to be set for the above header.

Used to notify the caller of any special HTTP headers.