input->method() == 'post') { $this->load->model('StationModel', 'stationModel'); $this->response(200, 'success', $this->stationModel->save(json_decode($this->input->raw_input_stream))); } } }