Skip to content

How to detect the file type? #387

@gknpezgssb

Description

@gknpezgssb

To detecting whether the uploaded file type is jpg / png or not,if not throw an ERROR.
which API should I use and how?

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