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