Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy node module in urlencoded #79

Open
MatinSasan opened this issue May 18, 2022 · 1 comment
Open

Legacy node module in urlencoded #79

MatinSasan opened this issue May 18, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@MatinSasan
Copy link
Contributor

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 MatinSasan added the bug Something isn't working label May 18, 2022
@thevinitgupta
Copy link

I would like to work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants