Permalink
Browse files

[DOC] Fix error in README

- Fix error in README section for HTTP POST file upload.
  • Loading branch information...
1 parent 5e38f64 commit 109fd918aeb1d78171c21a21070c511bf970e4ec Tad Hosford committed Jan 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README
View
2 README
@@ -120,7 +120,7 @@ Same thing, more manual:
c = Curl::Easy.new("http://my.rails.box/files/upload")
c.multipart_form_post = true
- c.http_post(Curl::PostField.file('myfile.rb'))
+ c.http_post(Curl::PostField.file('thing[file]', 'myfile.rb'))
### Multi Interface (Basic HTTP GET):

0 comments on commit 109fd91

Please sign in to comment.