zayne-labs / call-api

A lightweight wrapper over fetch with zero race conditions by default, and everything one could yearn for in a fetching library like timeouts, retries, interceptors and so much more

Home Page:https://zayne-callapi.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with cors errors due to boundary missing on form

TechWithDunamix opened this issue · comments

Issue Type

  • Bug Report
  • Feature Request
  • Enhancement
  • Other (Please specify)

Description

I tried to make a request to my server with a formdata payload, but for some reason i kept getting cors errors even with the headers being set on my server.
I then discovered that my server require a boundary enitiy along with the formData, but seems callapi wasn't setting it