mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
docs: enable syntax highlighting for a code block (#4970)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -879,7 +879,7 @@ You can also use the [`qs`](https://github.com/ljharb/qs) library.
|
|||||||
|
|
||||||
Axios will automatically serialize the data object to urlencoded format if the content-type header is set to "application/x-www-form-urlencoded".
|
Axios will automatically serialize the data object to urlencoded format if the content-type header is set to "application/x-www-form-urlencoded".
|
||||||
|
|
||||||
```
|
```js
|
||||||
const data = {
|
const data = {
|
||||||
x: 1,
|
x: 1,
|
||||||
arr: [1, 2, 3],
|
arr: [1, 2, 3],
|
||||||
|
|||||||
Reference in New Issue
Block a user