Skip to content

Commit c2996ce

Browse files
committed
doc: make minor improvements to query string sentence in http2.md
PR-URL: #34929 Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Ricky Zhou <[email protected]>
1 parent 589b2a1 commit c2996ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/http2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3163,9 +3163,9 @@ Url {
31633163
href: '/status?name=ryan' }
31643164
```
31653165

3166-
To extract the parameters from the query string, the
3167-
`require('querystring').parse` function can be used, or
3168-
`true` can be passed as the second argument to `require('url').parse`.
3166+
To obtain the parameters from the query string, use the
3167+
`require('querystring').parse()` function or pass
3168+
`true` as the second argument to `require('url').parse()`.
31693169

31703170
```console
31713171
$ node

0 commit comments

Comments
 (0)