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.