From: Ting Chang Date: 2011-04-30T05:46:50+09:00 Subject: How do I read HTTP POST XML sent to CGI? Hello Ruby Masters, I am a ruby newbie and tried to use a http client to send the XML HTTP POST request to my cgi, I thought I can get the text I input in the HTTP POST directly from the $stdin as a string in cgi and extract the data out. but it didn't seem to work. I tried to do $stdin.realines to parse every line of the $stdin but I got nothing out of it. Could anyone please advise ? Thanks, Erick -- Posted via http://www.ruby-forum.com/.