fetch – Missing boundary in multipart/form-data POST

The solution to the problem is to explicitly set Content-Type to undefined so that your browser or whatever client you’re using can set it and add that boundary value in there for you. Disappointing but true.

Leave a Comment