/** * @return \Illuminate\Http\JsonResponse */ public function getSessionId() { return $this->okResponse(Kuti::get('/tallennus/muodostasessiotunnus')); }
/** * @param Request $request * * @return \Illuminate\Http\JsonResponse */ public function autocomplete(Request $request) { $url = $request->get('source'); return $this->okResponse(Kuti::get($url, [], true)); }