Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Getting XML to text

by chuck882 (Initiate)
on Aug 27, 2014 at 18:52 UTC ( [id://1098794]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting XML to text
in thread Getting XML to text

Yes the server side is PERL. The server side processes the request properly. All I want it to get the XML being sent to me into a string variable.

Replies are listed 'Best First'.
Re^3: Getting XML to text
by derby (Abbot) on Aug 28, 2014 at 01:42 UTC

    Well ... you give us no code nor info on frameworks, modules, client set headers, http method, etc. I'll just assume you're POSTing XML with a mime type of application/xml and using CGI on the server side. If those assumptions are correct, then you just need to:

    my $data = $query->param('POSTDATA');
    If those assumptions are not correct, you're going to need to provide more information because there are so many different ways for a client to send data and a server to process requests.

    -derby

      Thank you, I knew it had to be something stupid I was doing. From now on I will include more details. Now seeing they are vital.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1098794]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found