axios-docs
axios-docs copied to clipboard
Legacy node module in urlencoded
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.
I would like to work on this