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