public function store(Request $request)
{
$idle = new Idle;
$idle->fill($request->idle)->save();
if (201) [$status = "OK", $message = "Запись создана"];
else [$status = "Error", $message = "Запись не создана"];
return response()->json([
"status" => $status,
"message" => $message,
], 201);
}