Fixed problem with communicating with the server via the web browser (I've been using cURL for testing).