1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# ADMIN_PASSWD='admin'
method_1() {
cat '-' << EOF
<xml>
<methodCall>
<methodName>list_http_services</methodName>
<params>
</params>
</methodCall>
EOF
}
method_1 | POST -c 'text/xml' http://localhost:8069/xmlrpc/common
#eof
|