{"id":"1770879636-2506-567930196","version":1,"type":"request","time":1770879636.089323,"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":["82256970-461b-42be-8aac-e2ab43584d6e"],"host":["localhost"],"accept-encoding":["gzip, deflate, br"],"connection":["keep-alive"],"content-length":["85"],"cookie":["laravel_session=a0i4qA1LDwWwqHnTy0xSuftCHkzoOR0f3PpWEZ4L"]},"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":"a0i4qA1LDwWwqHnTy0xSuftCHkzoOR0f3PpWEZ4L"},"responseTime":1770879636.774211,"responseStatus":200,"responseDuration":684.8878860473633,"memoryUsage":25165824,"middleware":["api"],"databaseQueries":[{"query":"SELECT * FROM `users` WHERE `id` = 6 LIMIT 1","duration":2.68,"connection":"mysql","time":1770879636.385015,"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":2.01,"connection":"mysql","time":1770879636.41362,"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.69,"connection":"mysql","time":1770879636.417704,"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:00:36', `platform_tokens`.`updated_at` = '2026-02-12 11:00:36' WHERE `platform_id` = 1 and `revoked_at` IS NULL and `expire_date` > '2026-02-12 11:00:36'","duration":5.04,"connection":"mysql","time":1770879636.731064,"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:00:36', '3ac481d3a72aef281bd534fc1cb01f94b23b7dbf129fdd98c05fbd403f32e71e', 1, '9c1fd290-9cfd-418d-8fa9-ce8e46fa8170', '2026-02-12 11:00:36', '2026-02-12 11:00:36')","duration":3.66,"connection":"mysql","time":1770879636.7558692,"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":14.079999999999998,"cacheQueries":[{"type":"hit","key":"e7cf66797159dc3cd3e85f72e15bb551","expiration":null,"time":1770879636.39073,"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":1770879636.772634,"connection":null,"trace":[{"call":"Illuminate\\Foundation\\Http\\Kernel->handle()","file":"C:\\xampp2\\htdocs\\dinex\\public\\index.php","line":51,"isVendor":false}]}],"cacheReads":2,"cacheHits":2,"cacheWrites":0,"cacheDeletes":0,"cacheTime":0,"modelsActions":[{"model":"App\\Models\\PlatformToken","key":"9c1fd290-9cfd-418d-8fa9-ce8e46fa8170","action":"created","attributes":[],"changes":[],"time":1770879.63675971,"query":"INSERT INTO `platform_tokens` (`expire_date`, `token_hash`, `platform_id`, `id`, `updated_at`, `created_at`) VALUES ('2026-02-13 11:00:36', '3ac481d3a72aef281bd534fc1cb01f94b23b7dbf129fdd98c05fbd403f32e71e', 1, '9c1fd290-9cfd-418d-8fa9-ce8e46fa8170', '2026-02-12 11:00:36', '2026-02-12 11:00:36')","duration":3.66,"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":1770879636.339213,"end":1770879636.774006,"duration":434.79299545288086,"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":"8821028a"}
