public function getDataParams()
    {
        $method = $_SERVER['REQUEST_METHOD'];

        switch ($method) {
            case "POST":
                $this->dataParameters = $this->getPostFromInput();
                break;

            case "PUT":
            case "DELETE":
                $this->dataParameters = $this->getPostFromInput();
                break;
        }
    }