private function loadParams() {
        if($this->getRequest()->getRawBody() == ''
            && empty($this->getRequest()->getPost())
            && empty($this->getRequest()->getPut())
            && empty($this->getRequest()->getUploadedFiles())
        ) {
            throw new Exception('No Data Passed', 400);
        }
        $bulkCreation = false;
        if(!is_null($this->getRequest()->getJsonRawBody())) {
            $params = $this->getRequest()->getJsonRawBody();
            $delimiter = '.';
            if(is_array($params)) {
                $bulkCreation = true;
            }
        } else {
            if($this->getRequest()->isPost()) {
                $params = $this->getRequest()->getPost();
            } else {
                $params = $this->getPut();
            }
            $delimiter = '_';
        }
        if($this->request->getRawBody()!='' && sizeOf($params) == 0 && json_last_error() != JSON_ERROR_NONE) {
            $this->dispatchJsonError();
        }
        if($bulkCreation) { //Bulk Creation
            $outputParams = [];
            foreach($params as $param) {
                $helper = new SplitHelper($delimiter);
                $outputParams[] = $helper->convert((array)$param);
            }
            $this->setParams($outputParams);
        } else {
            $helper = new SplitHelper($delimiter);
            $this->setParams($helper->convert((array)$params));
        }
    }