exporting post request