Fixed bug with the way webserver was reading POST requests, modified test to use POST request.