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

Need to expose request.form() function #111

Open
mikefarah opened this issue Nov 13, 2019 · 1 comment
Open

Need to expose request.form() function #111

mikefarah opened this issue Nov 13, 2019 · 1 comment

Comments

@mikefarah
Copy link

Request has a .form() function that can be called for multipart form data, documented:

https://github.com/request/request#forms

There are other ways to submit mulitpart forms (e.g. using the formData parameter) but as this is intended as a drop-in replace for request, it should expose that function too

@FGRibreau
Copy link
Owner

I will accept a PR for it along with updated tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants