curl

A new curl CLI command is added to allow you to run cURL operation from EXEC Privileged mode.

The cURL features available through CLI are described in the following table:

Table 71.   curl commands

Feature

Command

cURL to the ActiveSync destination server

curl active-sync <dest> [port] [scheme] [protocol] <user>

cURL to the AppTunnel destination server

curl app-tunnel <dest> [port] [method] [scheme] [protocol] [user]

To cURL to the ActiveSync destination server, enter the following command:

curl active-sync <dest> [port] [scheme] [protocol] [user]

- dest
Required. The IP address or hostname of the destination server.
- port
Optional. The port for the destination server. The default used is 443.
- scheme
Optional. The HTTP scheme. Enter HTTP or HTTPS. The default used is HTTPS.
- protocol
Optional. The SSL protocol version. Enter TLSv1, or SSLv2. The entry is ignored if SSL is not required. The default used is TLSv1.
- user
Optional. Enter the username for the destination server.

Example:

#curl active-sync activesyncserver.domainname.com

To cURL to the AppTunnel destination server, enter the following command:

curl app-tunnel <dest> [port] [method] [scheme] [protocol] [user]

- dest
Required. The IP address or hostname of the destination server.
- port
Optional. The port for the destination server. The default used is 443.
- method
Optional. The HTTP method. Enter GET, HEAD, or OPTIONS. The default used is GET.
- scheme
Optional. The HTTP scheme. Enter HTTP or HTTPS. The default used is HTTPS.
- protocol
Optional. The SSL protocol version. Enter TLSv1, or SSLv2. The entry is ignored if SSL is not required. The default used is TLSv1.
- user
Optional. Enter username for the destination server.

Example:

#curl app-tunnel appserver.domainname.com