mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Fix typo and formatting, add colons (#4853)
* Fix typo, add colons * Fix code formatting * Fix code formatting Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -1043,7 +1043,7 @@ which are just the corresponding http methods with the `Content-Type` header pre
|
|||||||
|
|
||||||
## Files Posting
|
## Files Posting
|
||||||
|
|
||||||
You can easily sumbit a single file
|
You can easily submit a single file:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
await axios.postForm('https://httpbin.org/post', {
|
await axios.postForm('https://httpbin.org/post', {
|
||||||
@@ -1052,7 +1052,7 @@ await axios.postForm('https://httpbin.org/post', {
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
or multiple files as `multipart/form-data`.
|
or multiple files as `multipart/form-data`:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
await axios.postForm('https://httpbin.org/post', {
|
await axios.postForm('https://httpbin.org/post', {
|
||||||
|
|||||||
Reference in New Issue
Block a user