docs: link to form-data v2.x (JavaScript) docs
This commit is contained in:
parent
5149bc9dcb
commit
a95d003ed5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue