clientCertificate.post(options)

Note:

The content in this help topic pertains to SuiteScript 2.0.

Method Description

Method used to send a SSL secured POST request to a remote service and return the response.

Important:

If negotiating a connection to the destination server exceeds 5 seconds, a connection timeout occurs. If transferring a payload to the server exceeds 45 seconds, a request timeout occurs.

Returns

An https.ClientResponse Object

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Governance

10 units

Module

N/https/clientCertificate Module

Since

2019.1

Parameters

Note:

The options parameter is a JavaScript object.

Parameter

Type

Required/Optional

Description

Since

options.url

string

required

The URL address of the remote server.

2019.1

options.certId

string

required

The ID of the client certificate.

2019.1

options.body

string

required

The POST data to be sent to the remote server.

2019.1

options.headers

object

optional

The HTTPS headers associated with the request.

For more information, see HTTPS Header Information.

2019.1

Related Topics

Digital Signing
Uploading Digital Certificates
N/certificateControl Module
N/crypto/certificate Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices