diff --git a/doc/api/http2.md b/doc/api/http2.md index 878b7eebf2d105..c52b896da25217 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3073,9 +3073,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