From 4eaf68966ce009ae991543ace57f1b7815bbfa9d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 16 Sep 2018 21:02:53 -0600 Subject: [PATCH] note the need to install form-data@2 when using forms --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 304e6b2..bfc6306 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,11 @@ request.post('http://service.com/upload').form({key:'value'}) For `multipart/form-data` we use the [form-data](https://github.com/form-data/form-data) library by [@felixge](https://github.com/felixge). For the most cases, you can pass your upload form data via the `formData` option. +To use `form-data`, you must install it separately: + +```bash +npm install --save form-data@2 +``` ```js var formData = {