octet-stream / form-data

Spec-compliant FormData implementation for Node.js
https://www.npmjs.com/package/formdata-node
MIT License
142 stars 17 forks source link

Support for Fetch API #67

Closed ThallesP closed 1 year ago

ThallesP commented 1 year ago

Currently, the form-data is not compatible with node Fetch API

image

octet-stream commented 1 year ago

Hi. Sorry for the late response. Your issue might be related to https://github.com/octet-stream/form-data/issues/57

However, if you use formdata-node with globally available fetch, it should be compatible with globally available BodyInit type when v6 is released.

octet-stream commented 1 year ago

I'm closing this as a duplicate, please track progress in #57.