Trying to fix endpoint problem in ImageUpload