I am trying to upload file with'rest-client' gems.

回答済み
新規投稿

コメント

5件のコメント

  • Murtza

     Have you seen the Box Ruby SDK? Here is the method signature to upload a file with the Ruby SDK.

    0
    コメントアクション パーマリンク
  • novice_mux

    Thanks for reply 🙂 
    Yah, it worked with the boxr gem.  I had figured it out before. 

    0
    コメントアクション パーマリンク
  • archemedxian

    Did it only work with the boxr gem, or were you able to get it working with the RestClient gem as well?

    0
    コメントアクション パーマリンク
  • archemedxian

    Also Murtza, I might ask if there is anything wrong or that can be adjusted to the RestClient call to make it work? This should be a straightforward HTTP task.

    0
    コメントアクション パーマリンク
  • novice_mux

    I won't able to upload a file from rest-client. Surprising, It does work with the postman, though postman externally using rest call only.  I think something wrong with the code that I have written. 
    Using Boxer (Ruby gem) easy and fast.  It does solve my problem so I completed my task with boxr gem.

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。