test upload bad image
only post method allowed for upload