Skip to content

Why Postman filename is right, but in the web I use formdata.append() the filename is rong? #1222

Open
@TiuBen

Description

@TiuBen

I use Postman to mock the post form-data
My filename with Chinese words in the node.js console.log (file,originalname) is right
but
in my React I use
formData.append("img", Image[0], Image[0].name);
the nodejs console.log (file,originalname) is wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions