removed 'upload' path from url for post