Implemented all HTTP method calls for embedded tomcat