Hi,
As usual - thanks for providing and maintaining this lib!
fetch supports FormData as a payload:
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#uploading_a_file
I can provide a PR but it requires additional decision - FormData is a part of purescript-web/purescript-web-xhr:
- Do we want to extract this part into separate small lib like
purescript-web/purescript-form-data?
- Or depend on
web-xhr?
Hi,
As usual - thanks for providing and maintaining this lib!
fetchsupportsFormDataas a payload:https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#uploading_a_file
I can provide a PR but it requires additional decision -
FormDatais a part ofpurescript-web/purescript-web-xhr:purescript-web/purescript-form-data?web-xhr?