LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   send an XML doc from perl to an URL... (https://www.linuxquestions.org/questions/programming-9/send-an-xml-doc-from-perl-to-an-url-110186/)

kdowney 10-29-2003 10:11 PM

send an XML doc from perl to an URL...
 
I have browsed the many XML related perl modules that will allow me to parse/write XLM docs, but I am unclear on the syntax in my perl script to send the XML doc to an URL via http...
I tried to RTFM first and still not finding what I need. Any Perl gurus want to lend a newbie a hand? :)
Thanks!

szaroubi 10-30-2003 08:30 AM

Check out LWP::Simple .
You can create a request and send the XML in a POST.
This module has nothing to do with XML .. You are looking for a module that can talk "HTTP" ...
You could create your xml by hand of by using XML::Simple . Then shoot that xml with LWP::Simple.


All times are GMT -5. The time now is 04:18 AM.