change parameter for post query to data