Curl::Multi post

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…

Nevermind - I’m going to use the Curl::Easy way instead.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs