added post request for image