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?

From Ting Chang <aumart@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: How do I read HTTP POST XML sent to CGI?
Date 2011-04-29 18:24 -0500
Organization Service de news de lacave.net
Message-ID <e4c36a41e1fb3789bf7da42c9b2041f5@ruby-forum.com> (permalink)
References <de69b5ee9c24bf3a12dc0a420243ac31@ruby-forum.com>

Show all headers | 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