@Override
    protected void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException {
        if (req.getParameterMap().containsKey("create")) {
            create(Double.parseDouble(req.getParameter("value")), res);
            return;
        }
        if (req.getParameterMap().containsKey("id")) {
            get(req.getParameter("id"), res);
        }
    }