HTTP Module
Last updated
Was this helpful?
Last updated
Was this helpful?
Basic http(s) callout capability. Import
Arguments
url
(String) endpoint url
options
buffer
(Boolean:false) If true, the result body is a Buffer object. Otherwise, the result body is a utf-8 encoded string.
timeout
(Number) timeout in milliseconds.
strictSSL
(Boolean:false) Only available in the development environment.
headers
(Object) custom headers.
body
(String) for POST, PUT, and PATCH only. Must be a string.
sslOptions
pfx
key
cert
ca
passphrase
ciphers
rejectUnauthorized
servername
secureProtocol
minDHSize
Returns
Object
headers
(Object) an object containing response headers
body
(String) the response body.
statusCode
(Number) http status code.
statusMessage
(String) http status message.
Returns
Returns the list of available ciphersHTTP Example