Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: linting documentation notes (#5791)
  • Loading branch information
Cadienvan committed Aug 26, 2023
1 parent ca73eb8 commit dff74ae
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Expand Up @@ -215,7 +215,7 @@ async function getUser() {
}
```

> **Note** `async/await` is part of ECMAScript 2017 and is not supported in Internet
> **Note**: `async/await` is part of ECMAScript 2017 and is not supported in Internet
> Explorer and older browsers, so use with caution.

Performing a `POST` request
Expand Down Expand Up @@ -961,8 +961,7 @@ axios.post('https://something.com/', querystring.stringify({ foo: 'bar' }));
You can also use the [`qs`](https://github.com/ljharb/qs) library.
> **Note**
> The `qs` library is preferable if you need to stringify nested objects, as the `querystring` method has [known issues](https://github.com/nodejs/node-v0.x-archive/issues/1665) with that use case.
> **Note**: The `qs` library is preferable if you need to stringify nested objects, as the `querystring` method has [known issues](https://github.com/nodejs/node-v0.x-archive/issues/1665) with that use case.
### 🆕 Automatic serialization to URLSearchParams
Expand Down Expand Up @@ -1078,8 +1077,7 @@ Axios FormData serializer supports some special endings to perform the following
- `{}` - serialize the value with JSON.stringify
- `[]` - unwrap the array-like object as separate fields with the same key
> **Note**
> unwrap/expand operation will be used by default on arrays and FileList objects
> **Note**: unwrap/expand operation will be used by default on arrays and FileList objects
FormData serializer supports additional options via `config.formSerializer: object` property to handle rare cases:
Expand Down

0 comments on commit dff74ae

Please sign in to comment.