Get your own customer support community
 

Oauth multipart file upload/post

Does anyone have an example of what a file post in rails would look like? Am having a hard time finding an example online, i assume it is something like @token.post(uri, {:file=>'mypic.jpg'}, {'Content-type'=>'multipart/form-data'}) but have had no luck getting this to work. Any help would be greatly appreciated. Examples of this are few and far between. Thanks
Inappropriate?
3 people have this question

User_default_medium