0

It looks like IBM has set up an XML Management Interface for interacting with DataPower appliances that uses SOAP but I'm wondering if there is a way to interact with DataPower XC10 appliances through REST. Like, is there a RESTful API available for interacting with DataPower XC10 appliances directly?

Zack Macomber
  • 6,682
  • 14
  • 57
  • 104

2 Answers2

0

No RESTful API, but you can certainly use curl with the XML Management interface.

bjimba
  • 928
  • 8
  • 13
0

We can issue JSON commands via the "HTTP command interface" - http://www-01.ibm.com/support/knowledgecenter/SSS8GR_2.5.0/com.ibm.websphere.datapower.xc.doc/appTaskToInfoCenter_v251.htm?lang=en

For example, to view all users, I issued this curl command:

curl -k -u xcadmin:xcadmin -H "Content-Type: application/json" --data-binary  {"task":{"stopOnTaskFailure":"true","command":"ViewAllUsers"}}' https://192.168.56.101/resources/appTaskInterface
Zack Macomber
  • 6,682
  • 14
  • 57
  • 104