Ruby equivalent of filepart

Discussion in 'Ruby' started by Siddharth Dawara, Mar 22, 2007.

  1. Siddharth Dawara, Mar 22, 2007
    #1
    1. Advertising

  2. On Fri, Mar 23, 2007 at 02:58:37AM +0900, Siddharth Dawara wrote:
    > I'm looking for a Ruby equivalent of Java's Jakarta HTTP FilePart.
    >
    > I basically need to send out a post request that contains an uploaded
    > file to a REST API.
    >
    > Now the client code that they normally use is Jakarta HTTP. Whose
    > definition of a multipart post containing a file is here:
    > http://jakarta.apache.org/commons/httpclient/methods/multipartpost.html
    >
    > I need help to do this in Ruby. Anyone has nay thoughts on this?


    If you google for "ruby multipart post" you'll find some solutions.

    I believe also that Rails has some components which can do this.
    Brian Candler, Mar 22, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gary Nutbeam
    Replies:
    12
    Views:
    759
    Gary Nutbeam
    Mar 7, 2005
  2. Ray
    Replies:
    3
    Views:
    529
    Paul Boddie
    Dec 2, 2005
  3. Antoine De Groote

    ruby %w equivalent

    Antoine De Groote, Sep 24, 2006, in forum: Python
    Replies:
    24
    Views:
    762
    James Stroud
    Sep 30, 2006
  4. Kenneth McDonald
    Replies:
    6
    Views:
    1,766
    Mark Thomas
    Dec 30, 2008
  5. anne001
    Replies:
    1
    Views:
    438
Loading...

Share This Page