curl command for an xmlrpc command
<p>so i have an XMLRPC server that has a command called start_apps</p>

<p>normally from python I would run it like this</p>

<pre><code>import xmlrpclib
app=xmlrpclib.ServerProxy("http://localhost:6610/app_rpc")

app.start_apps()
</code></pre>

<p>is there any way to call this method from a curl command?</p>

<p>i'm interested from bash or powershell </p>

<p>The following command will invoke the start_apps command by posting the XML data to the XMLRPC server:</p>

<pre><code>curl -d "&lt;?xml version='1.0'?&gt;&lt;methodCall&gt;&lt;methodName&gt;start_apps&lt;/methodName&gt;&lt;/methodCall&gt;" http://localhost:6610/app_rpc
</code></pre>

<p>When invoked on Linux use single quotes for the XML fragment.</p>

python curl xml-rpc