/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { header('Access-Control-Allow-Origin: *'); $memeber = Members::find($id); return response()->JSON($memeber); }