Add helper method to submit data for multipart/form-data