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


Groups > comp.lang.ruby > #3723

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:16 -0500
Organization Service de news de lacave.net
Message-ID <e811a69472fbb5341983e5732b7ce754@ruby-forum.com> (permalink)
References <de69b5ee9c24bf3a12dc0a420243ac31@ruby-forum.com> <322a6e70c0ae283a250ee5323b053a9a@ruby-forum.com>

Show all headers | View raw


Ting Chang wrote in post #995885:
> I am using this tool:
> http://soft-net.net/SendHTTPTool.aspx
> and simply post Text input with the Method and URL specified only.
> And the text content I input is:.
>
> <QUERY CMD="LOOKUP">
>   <URL>www.xxxurl.com</URL>
>   <OPTION>
>     <PARAMETER>DATA_TYPE</PARAMETER>
>     <VALUE>IMAGE</VALUE>
>   </OPTION>
> </QUERY>
>
> I wish in the cgi code to extract the URL and the option values out but
> by following the reference above I cannot get it work.

Post your ruby code.

-- 
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