Skip to content

Commit

Permalink
doc: make minor improvements to query string sentence in http2.md
Browse files Browse the repository at this point in the history
PR-URL: #34929
Reviewed-By: Denys Otrishko <[email protected]>
Reviewed-By: Ricky Zhou <[email protected]>
  • Loading branch information
Trott authored and richardlau committed Sep 1, 2020
1 parent 8aac42c commit 31098a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3113,9 +3113,9 @@ Url {
href: '/status?name=ryan' }
```

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

```console
$ node
Expand Down

0 comments on commit 31098a4

Please sign in to comment.