fixing POST request