getParsedBodyParam('key'); if (! isset($key)) { $this->response->setRequestStatus(false); $this->response->addJSON(['message' => Message::error()]); return; } $this->response->addJSON(['value' => $this->config->get($key)]); } }