{"id":"1770881085-2106-1086194829","version":1,"type":"request","time":1770881085.013975,"method":"POST","url":"http:\/\/localhost\/dinex\/public\/api\/v1\/platform\/login","uri":"\/dinex\/public\/api\/v1\/platform\/login","headers":{"content-type":["application\/json"],"user-agent":["PostmanRuntime\/7.51.0"],"accept":["*\/*"],"postman-token":["53c3814a-03e7-401d-bebb-a19bd57cef48"],"host":["localhost"],"accept-encoding":["gzip, deflate, br"],"connection":["keep-alive"],"content-length":["85"],"cookie":["laravel_session=9siQGsWQU0wnnfC4Xb0xrSB6cvw9hO8SnHwaWahw"]},"controller":"App\\Http\\Controllers\\Auth\\PlatformAuthController@login","getData":[],"postData":[],"requestData":{"username":"7oBF4d08WTmM6q8","password":"*removed*"},"sessionData":{"_token":"sc9Pjf738vaWOxhhjhEgvesG1mUZzsCd204YkiP4","login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d":6,"_flash":{"__type__":"array","old":{"__type__":"array"},"new":{"__type__":"array"}},"_previous":{"__type__":"array","url":"http:\/\/localhost\/dinex\/public\/api\/v1\/pos\/orders\/list"},"password_hash_web":"*removed*"},"authenticatedUser":{"id":6,"username":"mahmoud-cashier@dinex.com","email":"mahmoud-cashier@dinex.com","name":"Mahmoud Samy"},"cookies":{"laravel_session":"9siQGsWQU0wnnfC4Xb0xrSB6cvw9hO8SnHwaWahw"},"responseTime":1770881085.785064,"responseStatus":200,"responseDuration":771.0890769958496,"memoryUsage":25165824,"middleware":["api"],"databaseQueries":[{"query":"SELECT * FROM `users` WHERE `id` = 6 LIMIT 1","duration":6.14,"connection":"mysql","time":1770881085.365143,"trace":[{"call":"Illuminate\\Http\\Request->user()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Providers\\RouteServiceProvider.php","line":28,"isVendor":false},{"call":"App\\Providers\\RouteServiceProvider->App\\Providers\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php","line":117,"isVendor":true},{"call":"Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php","line":87,"isVendor":true},{"call":"Illuminate\\Routing\\Middleware\\ThrottleRequests->handle()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php","line":121,"isVendor":true},{"call":"Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php","line":64,"isVendor":true},{"call":"Illuminate\\Session\\Middleware\\StartSession->handle()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":119,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->then()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":805,"isVendor":true},{"call":"Illuminate\\Routing\\Router->runRouteWithinStack()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":784,"isVendor":true}],"model":"App\\Models\\User","tags":[]},{"query":"SELECT count(*) as aggregate FROM `platforms` WHERE `username` = '7oBF4d08WTmM6q8'","duration":0.89,"connection":"mysql","time":1770881085.409481,"trace":[{"call":"Illuminate\\Validation\\Validator->fails()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Http\\Controllers\\Auth\\PlatformAuthController.php","line":26,"isVendor":false},{"call":"App\\Http\\Controllers\\Auth\\PlatformAuthController->login()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php","line":54,"isVendor":true},{"call":"Illuminate\\Routing\\Controller->callAction()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":43,"isVendor":true},{"call":"Illuminate\\Routing\\ControllerDispatcher->dispatch()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":259,"isVendor":true},{"call":"Illuminate\\Routing\\Route->runController()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":205,"isVendor":true},{"call":"Illuminate\\Routing\\Route->run()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":806,"isVendor":true},{"call":"Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":144,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php","line":50,"isVendor":true},{"call":"Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php","line":159,"isVendor":true}],"model":null,"tags":[]},{"query":"SELECT * FROM `platforms` WHERE `username` = '7oBF4d08WTmM6q8' LIMIT 1","duration":0.6,"connection":"mysql","time":1770881085.4120378,"trace":[{"call":"Illuminate\\Database\\Eloquent\\Builder->first()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Services\\PlatformAuthService.php","line":16,"isVendor":false},{"call":"App\\Services\\PlatformAuthService->login()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Http\\Controllers\\Auth\\PlatformAuthController.php","line":30,"isVendor":false},{"call":"App\\Http\\Controllers\\Auth\\PlatformAuthController->login()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php","line":54,"isVendor":true},{"call":"Illuminate\\Routing\\Controller->callAction()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":43,"isVendor":true},{"call":"Illuminate\\Routing\\ControllerDispatcher->dispatch()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":259,"isVendor":true},{"call":"Illuminate\\Routing\\Route->runController()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":205,"isVendor":true},{"call":"Illuminate\\Routing\\Route->run()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":806,"isVendor":true},{"call":"Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":144,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php","line":50,"isVendor":true},{"call":"Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"isVendor":true}],"model":"App\\Models\\Platform","tags":[]},{"query":"UPDATE `platform_tokens` SET `revoked_at` = '2026-02-12 11:24:45', `platform_tokens`.`updated_at` = '2026-02-12 11:24:45' WHERE `platform_id` = 1 and `revoked_at` IS NULL and `expire_date` > '2026-02-12 11:24:45'","duration":3.22,"connection":"mysql","time":1770881085.738978,"trace":[{"call":"Illuminate\\Database\\Eloquent\\Builder->update()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Services\\PlatformAuthService.php","line":25,"isVendor":false},{"call":"App\\Services\\PlatformAuthService->login()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Http\\Controllers\\Auth\\PlatformAuthController.php","line":30,"isVendor":false},{"call":"App\\Http\\Controllers\\Auth\\PlatformAuthController->login()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php","line":54,"isVendor":true},{"call":"Illuminate\\Routing\\Controller->callAction()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":43,"isVendor":true},{"call":"Illuminate\\Routing\\ControllerDispatcher->dispatch()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":259,"isVendor":true},{"call":"Illuminate\\Routing\\Route->runController()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":205,"isVendor":true},{"call":"Illuminate\\Routing\\Route->run()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":806,"isVendor":true},{"call":"Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":144,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php","line":50,"isVendor":true},{"call":"Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"isVendor":true}],"model":"App\\Models\\PlatformToken","tags":[]},{"query":"INSERT INTO `platform_tokens` (`expire_date`, `token_hash`, `platform_id`, `id`, `updated_at`, `created_at`) VALUES ('2026-02-13 11:24:45', '4eb6294bb00237653e052cc32c73e5d2b4f076723606a94a37906b7d4784136c', 1, '266b7475-87af-4948-866d-08a1596bb354', '2026-02-12 11:24:45', '2026-02-12 11:24:45')","duration":3.01,"connection":"mysql","time":1770881085.763838,"trace":[{"call":"Illuminate\\Database\\Eloquent\\Relations\\HasOneOrMany->create()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Services\\PlatformAuthService.php","line":28,"isVendor":false},{"call":"App\\Services\\PlatformAuthService->login()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Http\\Controllers\\Auth\\PlatformAuthController.php","line":30,"isVendor":false},{"call":"App\\Http\\Controllers\\Auth\\PlatformAuthController->login()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php","line":54,"isVendor":true},{"call":"Illuminate\\Routing\\Controller->callAction()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":43,"isVendor":true},{"call":"Illuminate\\Routing\\ControllerDispatcher->dispatch()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":259,"isVendor":true},{"call":"Illuminate\\Routing\\Route->runController()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":205,"isVendor":true},{"call":"Illuminate\\Routing\\Route->run()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":806,"isVendor":true},{"call":"Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":144,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php","line":50,"isVendor":true},{"call":"Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"isVendor":true}],"model":"App\\Models\\PlatformToken","tags":[]}],"databaseQueriesCount":5,"databaseSlowQueries":0,"databaseSelects":3,"databaseInserts":1,"databaseUpdates":1,"databaseDeletes":0,"databaseOthers":0,"databaseDuration":13.86,"cacheQueries":[{"type":"miss","key":"e7cf66797159dc3cd3e85f72e15bb551","expiration":null,"time":1770881085.37566,"connection":null,"trace":[{"call":"Illuminate\\Foundation\\Http\\Kernel->handle()","file":"C:\\xampp2\\htdocs\\dinex\\public\\index.php","line":51,"isVendor":false}]},{"type":"hit","key":"e7cf66797159dc3cd3e85f72e15bb551","expiration":null,"time":1770881085.782554,"connection":null,"trace":[{"call":"Illuminate\\Foundation\\Http\\Kernel->handle()","file":"C:\\xampp2\\htdocs\\dinex\\public\\index.php","line":51,"isVendor":false}]}],"cacheReads":2,"cacheHits":1,"cacheWrites":0,"cacheDeletes":0,"cacheTime":0,"modelsActions":[{"model":"App\\Models\\PlatformToken","key":"266b7475-87af-4948-866d-08a1596bb354","action":"created","attributes":[],"changes":[],"time":1770881.085767002,"query":"INSERT INTO `platform_tokens` (`expire_date`, `token_hash`, `platform_id`, `id`, `updated_at`, `created_at`) VALUES ('2026-02-13 11:24:45', '4eb6294bb00237653e052cc32c73e5d2b4f076723606a94a37906b7d4784136c', 1, '266b7475-87af-4948-866d-08a1596bb354', '2026-02-12 11:24:45', '2026-02-12 11:24:45')","duration":3.01,"connection":"mysql","trace":[{"call":"Illuminate\\Database\\Eloquent\\Relations\\HasOneOrMany->create()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Services\\PlatformAuthService.php","line":28,"isVendor":false},{"call":"App\\Services\\PlatformAuthService->login()","file":"C:\\xampp2\\htdocs\\dinex\\app\\Http\\Controllers\\Auth\\PlatformAuthController.php","line":30,"isVendor":false},{"call":"App\\Http\\Controllers\\Auth\\PlatformAuthController->login()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php","line":54,"isVendor":true},{"call":"Illuminate\\Routing\\Controller->callAction()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":43,"isVendor":true},{"call":"Illuminate\\Routing\\ControllerDispatcher->dispatch()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":259,"isVendor":true},{"call":"Illuminate\\Routing\\Route->runController()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":205,"isVendor":true},{"call":"Illuminate\\Routing\\Route->run()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":806,"isVendor":true},{"call":"Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":144,"isVendor":true},{"call":"Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php","line":50,"isVendor":true},{"call":"Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()","file":"C:\\xampp2\\htdocs\\dinex\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"isVendor":true}],"tags":[]}],"modelsRetrieved":{"App\\Models\\User":1,"App\\Models\\Platform":1},"modelsCreated":{"App\\Models\\PlatformToken":1},"modelsUpdated":[],"modelsDeleted":[],"redisCommands":[],"queueJobs":[],"timelineData":[{"description":"Controller","start":1770881085.314508,"end":1770881085.784818,"duration":470.3099727630615,"color":null,"data":null}],"log":[],"events":[],"routes":[],"notifications":[],"emailsData":[],"viewsData":[],"userData":[],"httpRequests":[],"subrequests":[],"xdebug":[],"commandName":null,"commandArguments":[],"commandArgumentsDefaults":[],"commandOptions":[],"commandOptionsDefaults":[],"commandExitCode":null,"commandOutput":null,"jobName":null,"jobDescription":null,"jobStatus":null,"jobPayload":[],"jobQueue":null,"jobConnection":null,"jobOptions":[],"testName":null,"testStatus":null,"testStatusMessage":null,"testAsserts":[],"clientMetrics":[],"webVitals":[],"parent":null,"updateToken":"3b2a6803"}
