2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

docs: enable syntax highlighting for a code block (#4970)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Huyen Nguyen
2022-09-29 13:27:32 +07:00
committed by GitHub
parent 58ec93a95e
commit 60e85533b3
+1 -1
View File
@@ -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".
```
```js
const data = {
x: 1,
arr: [1, 2, 3],