Forum: Ruby on Rails Curl::Multi post

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
casey.ellett (Guest)
on 2008-11-10 21:48
(Received via mailing list)
I'm having trouble finding documentation on the curl-multi gem.

I need to post some xml to a webservice - I've done this in PHP
before.

so far :

require 'curl-multi'
curl = Curl::Multi.new
curl.post("url", "xml", ?)

The question mark in the code above is what I'm having trouble with.
With nothing there I get a "wroong number of arguments - 2 for 3"
error...

I know it's something absurdly simple that I am missing...
Casey Ellett (Guest)
on 2008-11-10 23:44
(Received via mailing list)
Nevermind - I'm going to use the Curl::Easy way instead.
This topic is locked and can not be replied to.