RW_SET_RESULT 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_RESULT(http_error_code)

Syntax Elements

http_error_code

A numeric HTTP error code, for example, 400 for a bad request.

It is used to notify the caller that there was a problem with the request.