You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this working with some hacking earlier and I'd be happy to submit a PR. In my mind, this can be done by adding node-form-data as a dependency and checking if send has been called with an instance of FormData, or by just checking data for getHeaders, pipe, and getLengthSync (and assuming objects with those properties should be treated as a FormData).
👍 I was about to create this PR. Glad I checked first! This is the solution I was going to do as well. Please accept @driverdan. We need file-upload capability in our client/server SDK and this is a great solution.
today i try to call xmlhttprequest during that i send argument of type FormData but it is giving error as follow:
TypeError: Argument must be a string
The text was updated successfully, but these errors were encountered: