axios-docs icon indicating copy to clipboard operation
axios-docs copied to clipboard

Legacy node module in urlencoded

Open MatinSasan opened this issue 3 years ago • 1 comments

https://github.com/axios/axios-docs/blob/master/posts/en/urlencoded.md#query-string

the urlencoded page of the docs suggests using querystring module in node.js, however according to Node.js docs (https://nodejs.org/api/querystring.html), it's in legacy now, quoting:

The querystring API is considered Legacy. While it is still maintained, new code should use the URLSearchParams API instead.

In the urlencoded page, right after querystring example, an example of URLSearchParams is given.

I'd suggest that querystring example should be removed, according to Node.js docs. However please response as you see fit.

MatinSasan avatar May 18 '22 03:05 MatinSasan

I would like to work on this

thevinitgupta avatar Oct 03 '22 04:10 thevinitgupta