https post with xml data?

J

Jonathan Rochkind

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
 
A

ara.t.howard

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!

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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top