Skip to content

Commit

Permalink
Documented the field function for 'multipart/form-data' request bodies
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainv committed Mar 16, 2015
1 parent 8650134 commit 3e31817
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ describe('GET /users', function(){
```js
request(app)
.post('/')
.field('name', 'my awesome avatar')
.attach('avatar', 'test/fixtures/homeboy.jpg')
...
```
Expand Down

0 comments on commit 3e31817

Please sign in to comment.