#!/bin/bash # ADMIN_PASSWD='admin' method_1() { cat '-' << EOF list_http_services EOF } method_1 | POST -c 'text/xml' http://localhost:8069/xmlrpc/common #eof