I need to post some XML (not form encoded, just raw XML in the body) to
an https url.
I'm having trouble figuring out how to do this with Net::HTTP. Both
the https issue and the request body issue.
Anyone have any hints or examples? Thanks!
Jonathan
···
--
Posted via http://www.ruby-forum.com/.
a11
(-a)
2
give up. use restclient.
sudo gem install rest-client
if you really want to know how to do it read the restclient code - it uses net/http under the hood.
cheers.
a @ http://codeforpeople.com/
···
On Mar 26, 2009, at 8:56 AM, Jonathan Rochkind wrote:
I need to post some XML (not form encoded, just raw XML in the body) to
an https url.
I'm having trouble figuring out how to do this with Net::HTTP. Both
the https issue and the request body issue.
Anyone have any hints or examples? Thanks!
--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama
Ara Howard wrote:
give up. use restclient.
Excellent advice. I wish I had stumbled upon it 4 hours earlier...
···
--
Posted via http://www.ruby-forum.com/\.