From: Brian Candler Date: 2010-09-09T16:35:43+09:00 Subject: Re: How do I request a HTTPS page? Samuel Sternhagen wrote: > I added that leading '/' to the path variable. I have also added the www > that you have suggested. > > You said that maybe it wants to used http so I tried changing the port > number from 443 to 80. No, it must be 443 for https. For 80 (http) you would not say use_ssl = true. I suggest you keep it at 443 and use_ssl=true, and show what that response that gives. Show what it gives in that case. However I think this is no longer a ruby question, it's more of an oauth question, so you might get a better response in an oauth forum. > I am not sure what that last part is. I think it is some kind of > hexidecimal code. Either way, that is what it returned. Try using inspect, e.g. resp.each {|key, val| puts key.inspect + ' = ' + val.inspect} puts resp.body.inspect If you still get that junk, then it's coming from later on in your program. -- Posted via http://www.ruby-forum.com/.