DEV Community

Daniel Benedek
Daniel Benedek

Posted on

8

Unexpected end of form when sending form data with Postman- Multer

Liquid syntax error: Unknown tag 'endraw'

Top comments (2)

Collapse
 
jacksonkasi profile image
Jackson Kasi
const config = {
      headers: {
        "Content-Type": "multipart/form-data",
      },
    };

const res = await axios.post("/update-user-profile", data, config);
Enter fullscreen mode Exit fullscreen mode

for postman

try to add this content type

    "Content-Type": "multipart/form-data",
Enter fullscreen mode Exit fullscreen mode
Collapse
 
tanya1705 profile image
Tanya Kumari

I am getting the exact error. Have you sorted it?

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay