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
- 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
.
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.
- 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.
- Run the command and view output.