Skip to content

Commit a79b7b7

Browse files
committed
Merge pull request #204 from sylvainv/documentation/document-multipart-field-function
Documented the "field()" function for 'multipart/form-data' request bodies
2 parents bf2f5e7 + 3e31817 commit a79b7b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ describe('GET /users', function(){
9999
```js
100100
request(app)
101101
.post('/')
102+
.field('name', 'my awesome avatar')
102103
.attach('avatar', 'test/fixtures/homeboy.jpg')
103104
...
104105
```

0 commit comments

Comments
 (0)