modified post tasks to send data not headers