added post request to data file