lihao has asked for the wisdom of the Perl Monks concerning the following question:
Hi, monks
My co-worker wrote an API that requests me to send a chuck of XML to a specific server(i.e. http://example.com/api/action.html?xml) and then that server can execute some DB read/write accordingly.. a sample XML is shown below:
<api> <protocol>xml</protocol> <user>lihao</user> <key>**************</key> <data> <v1>Value 1</v1> <v2>Value 2</v2> <v3>Value 3</v3> </data> </api>
From my understanding, this is not like a typical HTTP form POST and also the XML is not in a typical SOAP format(I am not familiar with Web Service stuff though). Is there any easy way for me to use a Perl Module to send this chunk of data to that server directly??
Many thanks
lihao
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question: Send a chunk of XML to a server
by derby (Abbot) on Nov 09, 2009 at 18:21 UTC | |
by Anonymous Monk on Nov 09, 2009 at 21:46 UTC | |
by ikegami (Patriarch) on Nov 09, 2009 at 23:20 UTC | |
by derby (Abbot) on Nov 09, 2009 at 21:59 UTC | |
by Anonymous Monk on Nov 09, 2009 at 22:38 UTC | |
by ikegami (Patriarch) on Nov 09, 2009 at 23:28 UTC | |
| |
|
Re: Question: Send a chunk of XML to a server
by ikegami (Patriarch) on Nov 09, 2009 at 17:58 UTC | |
by lihao (Monk) on Nov 09, 2009 at 18:06 UTC | |
by ikegami (Patriarch) on Nov 09, 2009 at 19:11 UTC |