Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3729

Re: How do I read HTTP POST XML sent to CGI?

From 7stud -- <bbxx789_05ss@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: How do I read HTTP POST XML sent to CGI?
Date 2011-04-29 18:31 -0500
Organization Service de news de lacave.net
Message-ID <68deba81ec6854036da95551433c3722@ruby-forum.com> (permalink)
References <de69b5ee9c24bf3a12dc0a420243ac31@ruby-forum.com> <e4c36a41e1fb3789bf7da42c9b2041f5@ruby-forum.com>

Show all headers | View raw


Ting Chang wrote in post #995889:
> well... i only followed the instruction. trying to see if those
> parameters came in

Nobody on the ruby forum has any idea what your software does with this:

> <QUERY CMD="LOOKUP">
>   <URL>www.xxxurl.com</URL>
>   <OPTION>
>     <PARAMETER>DATA_TYPE</PARAMETER>
>     <VALUE>IMAGE</VALUE>
>   </OPTION>
> </QUERY>

Post data is sent to the server as name/value pairs.  Maybe your 
software interpretes that xml as an instruction to send a request to 
www.xxxurl.com, with the name/value pairs of DATA_TYPE=IMAGE.

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How do I read HTTP POST XML sent to CGI? Ting Chang <aumart@gmail.com> - 2011-04-29 15:46 -0500
  Re: How do I read HTTP POST XML sent to CGI? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-29 16:07 -0500
  Re: How do I read HTTP POST XML sent to CGI? Jesús Gabriel y Galán <jgabrielygalan@gmail.com> - 2011-04-29 16:16 -0500
  Re: How do I read HTTP POST XML sent to CGI? Ting Chang <aumart@gmail.com> - 2011-04-29 16:54 -0500
  Re: How do I read HTTP POST XML sent to CGI? Ting Chang <aumart@gmail.com> - 2011-04-29 18:02 -0500
    Re: How do I read HTTP POST XML sent to CGI? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-29 18:16 -0500
  Re: How do I read HTTP POST XML sent to CGI? Ting Chang <aumart@gmail.com> - 2011-04-29 18:24 -0500
    Re: How do I read HTTP POST XML sent to CGI? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-29 18:31 -0500
  Re: How do I read HTTP POST XML sent to CGI? Ting Chang <aumart@gmail.com> - 2011-04-29 19:21 -0500
    Re: How do I read HTTP POST XML sent to CGI? Duke Normandin <dukeofperl@ml1.net> - 2011-04-29 20:27 -0500
    Re: How do I read HTTP POST XML sent to CGI? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-30 17:35 -0500

csiph-web