5.10.8 SEND
The SEND command is used to send the JSON content to the remote HTTP server.
When the SEND command of this service is executed the following occurs:
The service determines if this Unicode data needs to be archived.
The service sends a HTTP request to remote server and receives the HTTP response.
Syntax:
Command
|
Keyword
|
Value
|
Developer notes
|
SEND
|
URI
|
value
|
Required. Remote URI.
|
HOST
|
value
|
Required. Remote server.
|
SNISERVER
|
value
|
Optional. SNI host name used by TLS handshake. Use specified value or *HOST for the value of the HOST keyword value.
LANSA Integrator can only support SNI when the Java Virtual Machine (JVM) is at Java version 1.8 or higher.
|
USER
|
value
|
Optional. Basic authentication user.
|
PASSWORD
|
value
|
Optional. Basic authentication password.
|
PROXY
|
value
|
Optional. Proxy server.
|
PROXYUSER
|
value
|
Optional. Basic authentication user.
|
PROXYPASSWORD
|
value
|
Optional. Basic authentication password.
|
METHOD
|
|
Optional. See METHOD.
|
VERSION
|
|
Optional. See VERSION.
|
SECURE
|
*YES
|
Optional. Use HTTPS protocol.
|
*NO
|
Default. Use HTTP protocol.
|
WAIT
|
*NO
|
Optional. Do not wait for HTTP response.
|
*YES
|
Default is 0. Infinite wait for HTTP response.
|
value
|
Wait read time in milliseconds.
|
TIMEOUT
|
value
|
Optional. Default is 0 which means disabled. Host connection timeout in milliseconds.
|
LOCALE
|
|
Optional. See LOCALE.
|
ARCHIVE
|
|
Optional. See ARCHIVE.
|
|
Example
SEND HOST(…) URI(/cgi-bin/program)