DEV Community

Daniel Benedek
Daniel Benedek

Posted on

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?