From: 7stud -- Date: 2011-05-28T05:38:33+09:00 Subject: Re: How to retrieve the HTTP response contents like header, posts, HTML, etc.? Amit Bobade wrote in post #1001502: > Dear All: > > I am trying to deal with the HTTP response. I want to retrieve the > contents such as header, resp.each_header do |name, value| puts "#{name} => #{value}" end > post, What is a response 'post'? > response The response is the response. > HTML, JSON, etc. of the HTTP > response. puts resp.body > (Please refer screen shot for the same.) I don't think so. -- Posted via http://www.ruby-forum.com/.