web server to handle http POST request