5.9.8 SEND

The SEND command is used to send the serialized JSON string content back as a response to the remote HTTP client program.

To send a custom CORS response, use the SET PROPERTY command to set the HTTP response properties and use the SEND RESPONSE(*EMPTY) to return no content.

The service determines if this Unicode data needs to be archived.

Syntax:

Command

Keyword

Value

Developer notes

SEND

ARCHIVE

 

Optional. See ARCHIVE.

STATUS

value

Optional: HTTP status number.
Default: 200.

MESSAGE

value

Optional: HTTP status message.
Default: OK.

RESPONSE

*CORS

Optional. Send a Cross-Origin Resource Sharing response.

*EMPTY

Send an empty content response.

 

Example

SEND