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


Groups > comp.lang.ruby > #3728

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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail
From Ting Chang <aumart@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: How do I read HTTP POST XML sent to CGI?
Date Fri, 29 Apr 2011 18:24:42 -0500
Organization Service de news de lacave.net
Lines 20
Message-ID <e4c36a41e1fb3789bf7da42c9b2041f5@ruby-forum.com> (permalink)
References <de69b5ee9c24bf3a12dc0a420243ac31@ruby-forum.com>
NNTP-Posting-Host bristol.highgroove.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace talisker.lacave.net 1304119496 48814 65.111.164.187 (29 Apr 2011 23:24:56 GMT)
X-Complaints-To abuse@lacave.net
NNTP-Posting-Date Fri, 29 Apr 2011 23:24:56 +0000 (UTC)
In-Reply-To <de69b5ee9c24bf3a12dc0a420243ac31@ruby-forum.com>
X-Received-From This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway
X-Mail-Count 382419
X-Ml-Name ruby-talk
X-Rubymirror Yes
X-Ruby-Talk <e4c36a41e1fb3789bf7da42c9b2041f5@ruby-forum.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.ruby:3728

Show key headers only | View raw


well... i only followed the instruction. trying to see if those 
parameters came in


#!/usr/local/bin/ruby
require "cgi"



cgi = CGI.new

h = cgi.params
puts h['URL']
puts h['VALUE']

puts cgi['PARAMETER']

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