mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: make minor improvements to query string sentence in http2.md
PR-URL: https://github.com/nodejs/node/pull/34929 Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
This commit is contained in:
1 parent
589b2a1244
commit
c2996ce69c
1 file changed
+3
-3
+3
-3
@@ -3163,9 +3163,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
|
||||
|
||||
Reference in new issue
Block a user