node-request-retry icon indicating copy to clipboard operation
node-request-retry copied to clipboard

Need to expose request.form() function

Open mikefarah opened this issue 5 years ago • 1 comments

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

mikefarah avatar Nov 13 '19 05:11 mikefarah

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

FGRibreau avatar Nov 13 '19 10:11 FGRibreau