Skip to content

Commit e6d371c

Browse files
authoredFeb 16, 2022
Merge pull request #759 from francescobarbera/master
[docs] add an example for complex object in multipart upload
2 parents c2fd9ec + 729e818 commit e6d371c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ Anything you can do with superagent, you can do with supertest - for example mul
169169
request(app)
170170
.post('/')
171171
.field('name', 'my awesome avatar')
172+
.field('complex_object', '{"attribute": "value"}', {contentType: 'application/json'})
172173
.attach('avatar', 'test/fixtures/avatar.jpg')
173174
...
174175
```

0 commit comments

Comments
 (0)
Please sign in to comment.