Permalink
Browse files

minor fix in multipart api usage.

  • Loading branch information...
1 parent 8dc95ea commit 37c10d0f69ce20a380cb365944701521a77e525d @c4milo c4milo committed Dec 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -116,7 +116,7 @@ Example usage
password: 'wouldntyouliketoknow',
data: {
'sound[message]': 'hello from restler!',
- 'sound[file]': rest.file('doug-e-fresh_the-show.mp3', 'audio/mpeg')
+ 'sound[file]': rest.file('doug-e-fresh_the-show.mp3', null, null, null, 'audio/mpeg')
}
}).on('complete', function(data) {
sys.puts(data.audio_url);

0 comments on commit 37c10d0

Please sign in to comment.