Rename value to contents.

This commit is contained in:
Miao Jiang 2013-04-10 03:19:00 +08:00
parent 9c1cbb81c9
commit b337b6d4fb
3 changed files with 9 additions and 14 deletions

View file

@ -5,8 +5,9 @@ p 'start'
curl '127.0.0.1/upload.php', {
multipart: [
{name: 'file', file: '/home/miao/test.js', type: 'text/html'},
{name: 'sumbit', value: 'send'}
{name: 'sumbit', contents: 'send'}
],
}, (e) ->
console.log e
console.log curl.body
console.log @body
@close()