diff --git a/doc/api/http2.md b/doc/api/http2.md index c818f7ab5bbd0d..e9b6a14b8f19c0 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -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