Skip to main content
Version: 6.1

Connection Settings for the api Command

The api command supports using preconfigured connection settings. Their names are passed to the command through the connection parameter. To create or edit a connection, navigate to: Main Menu - Settings - Module Settings - Configuration List:

Configuration list

To create a new connection, click Create Configuration in the top-right corner. To edit a connection, select it from the list. The following is an example of a completed connection configuration:

Configuration settings

The table below lists the main connection parameters:

NameDescriptionExample
Configuration NameThe configuration name used as the connection parameter in the api command.test-connection, example
Server URLThe URL of the server to which the request is sent.http://example.com
Proxy Server URLThe URL of the HTTP proxy server.72.10.160.156:8080, http://72.10.160.156:8080
Select Authorization TypeThe authorization type. For Basic, specify a username and password; for ApiKey and Bearer, specify a key. The password and key are stored in keystore.Basic, ApiKey, Bearer
SSL ValidationSSL validation using certificates.Basic, ApiKey, Bearer
Enable Host Name VerificationVerification of the host name specified in the certificate.true, false
Request Timeout, msThe maximum wait time for a response to the request, in milliseconds.100
Select SSL OptionThe cryptographic protocol to use. The default is TLS1.3.SSL3, TLS, TLS1.3
Path to trust_storeThe path to the self-signed certificate. If a path is specified, you must specify the Certificate Password, which is stored in keystore./path/to/your/sertificate.jks

Before saving the configuration, you can click Check Connection.

Connection check