diff --git a/README.md b/README.md index 83a2fa6..493b7f8 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,7 @@ Anything you can do with superagent, you can do with supertest - for example mul request(app) .post('/') .field('name', 'my awesome avatar') + .field('complex_object', '{"attribute": "value"}', {contentType: 'application/json'}) .attach('avatar', 'test/fixtures/avatar.jpg') ... ```