docs: link to form-data v2.x (JavaScript) docs

This commit is contained in:
AJ ONeal 2021-08-06 15:27:06 -06:00 committed by GitHub
parent 5149bc9dcb
commit a95d003ed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -141,12 +141,12 @@ request.post('http://service.com/upload').form({key:'value'})
#### multipart/form-data (Multipart Form Uploads) #### multipart/form-data (Multipart Form Uploads)
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. For `multipart/form-data` we use the [form-data](https://github.com/form-data/form-data/tree/v2.5.1) 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: To use `form-data`, you must install it separately:
```bash ```bash
npm install --save form-data@2 npm install --save form-data@2.x
``` ```
```js ```js