Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用于与IBM DataPower XC10交互的RESTful API?_Rest_Curl_Ibm Datapower - Fatal编程技术网

用于与IBM DataPower XC10交互的RESTful API?

用于与IBM DataPower XC10交互的RESTful API?,rest,curl,ibm-datapower,Rest,Curl,Ibm Datapower,看起来IBM已经设置了一个XML管理接口,用于与使用SOAP的DataPower设备交互,但我想知道是否有一种方法可以通过REST与DataPower XC10设备交互。比如,是否有RESTful API可用于直接与DataPower XC10设备交互?没有RESTful API,但您当然可以将curl与XML管理接口一起使用。我们可以通过“HTTP命令接口”发出JSON命令- 例如,为了查看所有用户,我发出了以下curl命令: curl -k -u xcadmin:xcadmin -H "Co

看起来IBM已经设置了一个XML管理接口,用于与使用SOAP的DataPower设备交互,但我想知道是否有一种方法可以通过REST与DataPower XC10设备交互。比如,是否有RESTful API可用于直接与DataPower XC10设备交互?

没有RESTful API,但您当然可以将curl与XML管理接口一起使用。

我们可以通过“HTTP命令接口”发出JSON命令-

例如,为了查看所有用户,我发出了以下curl命令:

curl -k -u xcadmin:xcadmin -H "Content-Type: application/json" --data-binary  {"task":{"stopOnTaskFailure":"true","command":"ViewAllUsers"}}' https://192.168.56.101/resources/appTaskInterface