load->model('CategoryModel', 'categoryModel'); $this->load->model('ArticleModel', 'articleModel'); $this->response(200, 'success', ['insert' => $this->articleModel->save(json_decode($this->input->raw_input_stream))]); } }