mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
docs: fix typo in multipart/form-data README section (#7311)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -1098,7 +1098,7 @@ If your backend body-parser (like `body-parser` of `express.js`) supports nested
|
||||
|
||||
### FormData
|
||||
|
||||
To send the data as a `multipart/formdata` you need to pass a formData instance as a payload.
|
||||
To send the data as a `multipart/form-data` you need to pass a formData instance as a payload.
|
||||
Setting the `Content-Type` header is not required as Axios guesses it based on the payload type.
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user