main->settings->set('verification_key', $key); $this->respond([ 'key' => $key, 'home_url' => home_url(), 'foo' => $this->request->get('foo'), ]); } }