passing post parameters as request body