Administering with the HTTP command interface

[Version 2.0.0.3 and later] With the HTTP command interface, you can run operations on your appliance, configure appliance settings, and administer data grids, collectives, and zones.

About this task

You can use the HTTP command interface to run operations with HTTP POST JSON statements. You can combine these statements into scripts to automate configuration and administration tasks.

Procedure

  1. View the available commands for the HTTP command interface in the user interface.

    To view a table of all the available commands in the user interface, click Help(Help) > HTTP Command Interface Help. After you click a command name, you can view the Detailed Usage and Example JSON Submission.

    To view a list of all of the commands in the information center, see HTTP command interface reference.
  2. Create a JSON statement for the operation that you want to run. This statement must contain:
    • The command you want to run.
    • The appropriate parameters for the command.
    For example you might use the following command in the cURL tool:
    curl -v -k -u XC_ADMIN_USER:XC_ADMIN_PWD -H "Content-Type: application/json" --data-binary "HTTP_INTERFACE_JSON_STATEMENT" https://XC10_HOST_NAME/resources/appTaskInterface
    Define the following variables:
    XC_ADMIN_USER:XC_ADMIN_PWD
    Specifies the user name and password for the WebSphere® DataPower® XC10 Appliance administrator.
    HTTP_INTERFACE_JSON_STATEMENT
    Specifies one of the possible JSON statements submitted to the HTTP command interface.
    XC10_HOST_NAME
    Specifies the full host name or IP address of the WebSphere DataPower XC10 Appliance.
  3. Run the command and view output.
Previous topic: Administering data grids
Next topic: Developing applications to access simple data grids
Related concepts:
Appliance topology: collectives, zones, and data grids
Related tasks:
Creating a collective
Administering data grids
Creating dynamic cache data grids
Creating simple data grids
Creating session persistence to a data grid
Creating and modifying zones
Troubleshooting cache integration
Configuring HTTP session manager with WebSphere Portal
Configuring Transport Layer Security (TLS)
Related information:
Installing enterprise application files with the console
Installing enterprise applications using wsadmin scripting
Managing keys with the IKEYMAN graphical interface
HTTP command interface reference
cURL and libcurl tools