{"info":{"_postman_id":"88e33cac-7b14-493e-8ece-9d9196276c9e","name":"Restaurant_Systems","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"37843029","collectionId":"88e33cac-7b14-493e-8ece-9d9196276c9e","publishedId":"2sAYHzFi7M","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-12-15T22:45:45.000Z"},"item":[{"name":"Auth","item":[{"name":"Signup","event":[{"listen":"test","script":{"id":"5e33ea98-b76f-4eae-8e7e-a5916f7c51d1","exec":["pm.environment.set(\"JWT\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"b0243658-cb70-4e37-8b85-307e69c7fbbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text"},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text"},{"name":"content-type","sortOrder":4,"infoTitle":"This header was automatically added","info":"The Content-Type header is added to help the server identify the media type of the request body that is present in this request.\n\nUse the request body tab to control the value or to remove this header.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Type","value":"application/json","system":true,"type":"text"},{"name":"content-length","sortOrder":5,"infoTitle":"This header was automatically added","info":"The Content-Length header was added to indicate to the server the size of the request body that is added to this request. Server uses this value to parse the request body accurately.\n\nYou can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Length","value":"<calculated when request is sent>","system":true,"type":"text"},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text"},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text"},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text"},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text"},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"mo gamal\",\r\n  \"email\": \"mogamil@gmail.com\",\r\n  \"password\": \"12345678\",\r\n  \"role\":\"ADMIN\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/signup","urlObject":{"path":["auth","signup"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"749ab6b4-f22e-41a4-b8a1-bc8ba040b591","name":"Signup","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"mo gamal\",\r\n  \"email\": \"mogamil@gmail.com\",\r\n  \"password\": \"12345678\",\r\n  \"role\":\"ADMIN\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/signup"},"status":"Created","code":201,"_postman_previewlanguage":"JSON","header":[{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Length","value":"426","type":"text"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 22:36:28 GMT","type":"text"},{"key":"Etag","value":"W/\"1aa-gU0ZvO/NdjrVaaXhqUKwSpV6v8k\"","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Server","value":"railway-edge","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-Dns-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-Railway-Request-Id","value":"RxMQpvlmT4SElZXEG49dHQ_2823689937","type":"text"},{"key":"X-Xss-Protection","value":"0","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NCwicm9sZSI6IkFETUlOIiwiaWF0IjoxNzM0MzAyMTg4LCJleHAiOjE3MzQ1NjEzODh9.LmicC19y6UgM66hYfVdlrkaODteDf-c2DR11dxAgYkc\",\n    \"data\": {\n        \"user\": {\n            \"id\": 4,\n            \"name\": \"mo gamal\",\n            \"email\": \"mogamil@gmail.com\",\n            \"password\": \"$2b$10$.Hz0x0Ramn3rSAciVG5BV.HQbYpMz9WzzEe2hkVa7Iu1aAb0QnQfm\",\n            \"role\": \"ADMIN\",\n            \"updatedAt\": \"2024-12-15T22:36:28.671Z\",\n            \"createdAt\": \"2024-12-15T22:36:28.671Z\"\n        }\n    }\n}"}],"_postman_id":"b0243658-cb70-4e37-8b85-307e69c7fbbd"},{"name":"Signin","event":[{"listen":"test","script":{"id":"143fb81c-4f15-420f-9ca2-85c381a4f242","exec":["pm.environment.set(\"JWT\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"054f4a8f-9876-4bcc-9787-d749893b81e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"engmogamil@gmail.com\",\r\n    \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/signin","urlObject":{"path":["auth","signin"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"fc8b6ea7-fcbc-4cde-b29b-a3e128a3252b","name":"Signin","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"engmogamil@gmail.com\",\r\n    \"password\": \"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/auth/signin"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"429","type":"text"},{"key":"ETag","value":"W/\"1ad-0Q57UFOHkYuE6xMAkpj3YoOI3NA\"","type":"text"},{"key":"Date","value":"Sat, 14 Dec 2024 07:47:01 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6IkFETUlOIiwiaWF0IjoxNzM0MTYyNDIxLCJleHAiOjE3MzQ0MjE2MjF9.Rt5g_bgWZOBBDxWHAt90LlSMC9dM3yCfgCMyEBzBfpc\",\n    \"data\": {\n        \"user\": {\n            \"id\": 2,\n            \"name\": \"mo gamal\",\n            \"email\": \"engmogamil@gmail.com\",\n            \"password\": \"$2b$10$rccGTsrgZNQWNGBQmJeuQ.l7p9Byu/U9htxLc8xghDH2dJgNfqbge\",\n            \"role\": \"ADMIN\",\n            \"createdAt\": \"2024-12-13T05:58:57.350Z\",\n            \"updatedAt\": \"2024-12-13T18:21:48.065Z\"\n        }\n    }\n}"}],"_postman_id":"054f4a8f-9876-4bcc-9787-d749893b81e3"}],"id":"96359a58-092b-4ed0-8c82-8f0fae232967","_postman_id":"96359a58-092b-4ed0-8c82-8f0fae232967","description":""},{"name":"users","item":[{"name":"create-user","id":"6d6d3304-a161-4edb-8b64-428ee019bba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"content-type","sortOrder":4,"infoTitle":"This header was automatically added","info":"The Content-Type header is added to help the server identify the media type of the request body that is present in this request.\n\nUse the request body tab to control the value or to remove this header.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Type","value":"application/json","system":true,"type":"text","id":2},{"name":"content-length","sortOrder":5,"infoTitle":"This header was automatically added","info":"The Content-Length header was added to indicate to the server the size of the request body that is added to this request. Server uses this value to parse the request body accurately.\n\nYou can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Length","value":"<calculated when request is sent>","system":true,"type":"text","id":3},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":4},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":5},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":6},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":7},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":8},{"key":"Authorization","value":"Bearer {{JWT}} ","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n     \"name\":\"mo gamal\",\r\n    \"email\":\"momo@gmail.com\",\r\n    \"password\":\"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/","urlObject":{"path":["users",""],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"14f93bdf-2ec4-4187-a80e-d87c54733838","name":"create-user","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{JWT}} ","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n     \"name\":\"mo gamal\",\r\n    \"email\":\"momo@gmail.com\",\r\n    \"password\":\"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/users/"},"status":"Created","code":201,"_postman_previewlanguage":"JSON","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"254","type":"text"},{"key":"ETag","value":"W/\"fe-uMvbD+heRhRN7ZHpbEsQ9lzDNM4\"","type":"text"},{"key":"Date","value":"Sat, 14 Dec 2024 07:50:38 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"role\": \"User\",\n            \"id\": 3,\n            \"name\": \"mo gamal\",\n            \"email\": \"momo@gmail.com\",\n            \"password\": \"$2b$10$a0Q93T.a7rZgDDAj4iGUYuo7aDHAP7R7vvxIQG/UqR0t9QEhdbFny\",\n            \"updatedAt\": \"2024-12-14T07:50:38.277Z\",\n            \"createdAt\": \"2024-12-14T07:50:38.277Z\"\n        }\n    }\n}"}],"_postman_id":"6d6d3304-a161-4edb-8b64-428ee019bba1"}],"id":"f56f7b15-6b06-458c-aa81-0cf2b6d3fe6d","_postman_id":"f56f7b15-6b06-458c-aa81-0cf2b6d3fe6d","description":""},{"name":"Category","item":[{"name":"create-category","id":"492d57ab-142e-4216-afe4-aa5d1316e764","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"name":"authorization","sortOrder":0,"infoTitle":"This header was automatically added","info":"This header is added because of the authorization method used for this request.\n\nThe value of this header is tentative. You can find the exact value in the console once the request is sent.\n\nUse the authorization tab to remove authorization or to change the value of this header.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to authorization","key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6IkFETUlOIiwiaWF0IjoxNzM0MDY5NTM3LCJleHAiOjE3MzQzMjg3Mzd9.cWH5YOvhMGMgmeIHl-ywWuhy4IU-gmLcyjLlHxza31U","system":true,"auth":true,"type":"text","id":0},{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":1},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":2},{"name":"content-type","sortOrder":4,"infoTitle":"This header was automatically added","info":"The Content-Type header is added to help the server identify the media type of the request body that is present in this request.\n\nUse the request body tab to control the value or to remove this header.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Type","value":"application/json","system":true,"type":"text","id":3},{"name":"content-length","sortOrder":5,"infoTitle":"This header was automatically added","info":"The Content-Length header was added to indicate to the server the size of the request body that is added to this request. Server uses this value to parse the request body accurately.\n\nYou can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Length","value":"<calculated when request is sent>","system":true,"type":"text","id":4},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":5},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":6},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":7},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":8},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":9},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":10}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"fast food\",\r\n    \"description\":\"fast food description\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/categories/","urlObject":{"path":["categories",""],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c87880ff-217e-4357-915c-f5d8c0566503","name":"create-category","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":10}],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"fast food\",\r\n    \"description\":\"fast food description\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/categories/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"72","type":"text"},{"key":"ETag","value":"W/\"48-kPdqUO3vZsZPl9+x8OV3EebIuCM\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:24:51 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Can't find this route /api/api/categories/\"\n}"}],"_postman_id":"492d57ab-142e-4216-afe4-aa5d1316e764"},{"name":"get-all-category","id":"ba5c9e24-bcdb-4df1-b4be-066a00929c9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/categories/","urlObject":{"path":["categories",""],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"dfa5313f-99b0-457f-a72c-40728af98fde","name":"get-all-category","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/categories/"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"197","type":"text"},{"key":"ETag","value":"W/\"c5-VlNStoi8+2ummE6in0zCQA/fy3s\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:26:54 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"results\": 1,\n    \"data\": {\n        \"models\": [\n            {\n                \"id\": 1,\n                \"title\": \"fast food\",\n                \"description\": \"fast food description\",\n                \"createdAt\": \"2024-12-15T21:24:30.711Z\",\n                \"updatedAt\": \"2024-12-15T21:24:30.711Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"ba5c9e24-bcdb-4df1-b4be-066a00929c9d"},{"name":"get-one-category","id":"4b08ddb7-4949-4578-8bb3-a8586c138330","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/categories/1","urlObject":{"path":["categories","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a0c1ffe5-e9fc-4997-871e-46dbc013ff3d","name":"get-one-category","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/categories/1"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"182","type":"text"},{"key":"ETag","value":"W/\"b6-/xvcy9pTCfQW9orlhpXfZAiXMgA\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:28:09 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"model\": {\n            \"id\": 1,\n            \"title\": \"fast food\",\n            \"description\": \"fast food description\",\n            \"createdAt\": \"2024-12-15T21:24:30.711Z\",\n            \"updatedAt\": \"2024-12-15T21:24:30.711Z\"\n        }\n    }\n}"}],"_postman_id":"4b08ddb7-4949-4578-8bb3-a8586c138330"}],"id":"07709e67-f82d-4cf6-b498-f4c76fea2467","_postman_id":"07709e67-f82d-4cf6-b498-f4c76fea2467","description":""},{"name":"Menu_items","item":[{"name":"create_menuItems","id":"68ca54fb-3afd-4baf-a90f-566ac8c0f165","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"content-type","sortOrder":4,"infoTitle":"This header was automatically added","info":"The Content-Type header is added to help the server identify the media type of the request body that is present in this request.\n\nUse the request body tab to control the value or to remove this header.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Type","value":"application/json","system":true,"type":"text","id":2},{"name":"content-length","sortOrder":5,"infoTitle":"This header was automatically added","info":"The Content-Length header was added to indicate to the server the size of the request body that is added to this request. Server uses this value to parse the request body accurately.\n\nYou can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Length","value":"<calculated when request is sent>","system":true,"type":"text","id":3},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":4},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":5},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":6},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":7},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":8},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"pizza big\",\r\n    \"description\":\"pizza description\",\r\n    \"price\":50,\r\n    \"category_id\":1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/menu_items","urlObject":{"path":["menu_items"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"abafdbb8-9398-4073-a377-4c8177a70e19","name":"create_menuItems","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"pizza big\",\r\n    \"description\":\"pizza description\",\r\n    \"price\":50,\r\n    \"category_id\":1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/menu_items"},"status":"Created","code":201,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"X-RateLimit-Limit","value":"200","type":"text"},{"key":"X-RateLimit-Remaining","value":"199","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:29:19 GMT","type":"text"},{"key":"X-RateLimit-Reset","value":"1734298760","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"204","type":"text"},{"key":"ETag","value":"W/\"cc-O6Xv7i302MSOyOm9230oQw92eQc\"","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"model\": {\n            \"id\": 1,\n            \"name\": \"pizza big\",\n            \"description\": \"pizza description\",\n            \"price\": 50,\n            \"category_id\": 1,\n            \"updatedAt\": \"2024-12-15T21:29:19.267Z\",\n            \"createdAt\": \"2024-12-15T21:29:19.267Z\"\n        }\n    }\n}"}],"_postman_id":"68ca54fb-3afd-4baf-a90f-566ac8c0f165"},{"name":"filter_menu_byCategory","id":"cbf3d497-4df6-47f0-8fb0-aa81871fff41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/menu_items/category/1","urlObject":{"path":["menu_items","category","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"5d7aa541-258c-4e18-803f-e190f53ec04f","name":"filter_menu_byCategory","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/menu_items/category/1"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"223","type":"text"},{"key":"ETag","value":"W/\"df-hrK6M1IrKWuxcRw4hMMn+oJqs5w\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:30:20 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"results\": 1,\n    \"data\": {\n        \"menu_items\": [\n            {\n                \"id\": 1,\n                \"name\": \"pizza big\",\n                \"description\": \"pizza description\",\n                \"price\": 50,\n                \"category_id\": 1,\n                \"createdAt\": \"2024-12-15T21:29:19.267Z\",\n                \"updatedAt\": \"2024-12-15T21:29:19.267Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"cbf3d497-4df6-47f0-8fb0-aa81871fff41"},{"name":"filter_menu_byPrice","id":"3e4d07b0-2884-4275-b33e-61b795524232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/menu_items/price/asc","urlObject":{"path":["menu_items","price","asc"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"04d29939-9996-4bcd-a487-c06e9d95e591","name":"filter_menu_byPrice","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/menu_items/price/asc"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"223","type":"text"},{"key":"ETag","value":"W/\"df-hrK6M1IrKWuxcRw4hMMn+oJqs5w\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:33:28 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"results\": 1,\n    \"data\": {\n        \"menu_items\": [\n            {\n                \"id\": 1,\n                \"name\": \"pizza big\",\n                \"description\": \"pizza description\",\n                \"price\": 50,\n                \"category_id\": 1,\n                \"createdAt\": \"2024-12-15T21:29:19.267Z\",\n                \"updatedAt\": \"2024-12-15T21:29:19.267Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"3e4d07b0-2884-4275-b33e-61b795524232"},{"name":"get-all-menu","id":"9769ecd7-68ca-44e5-ac0f-2c51ef365234","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/menu_items/","urlObject":{"path":["menu_items",""],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"51126521-4dd7-4068-b9fd-732f5a0aa771","name":"get-all-menu","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/menu_items/"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"219","type":"text"},{"key":"ETag","value":"W/\"db-nDAr3BqYoqlYodX+pXp1czfl4aY\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:34:35 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"results\": 1,\n    \"data\": {\n        \"models\": [\n            {\n                \"id\": 1,\n                \"name\": \"pizza big\",\n                \"description\": \"pizza description\",\n                \"price\": 50,\n                \"category_id\": 1,\n                \"createdAt\": \"2024-12-15T21:29:19.267Z\",\n                \"updatedAt\": \"2024-12-15T21:29:19.267Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9769ecd7-68ca-44e5-ac0f-2c51ef365234"},{"name":"get-one-menu","id":"6c795254-1b53-48a9-b5ac-8b4f03ae36ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/menu_items/1","urlObject":{"path":["menu_items","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"69bbab97-432f-47ce-9ff6-eb14c2eebbb5","name":"get-one-menu","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/menu_items/1"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"204","type":"text"},{"key":"ETag","value":"W/\"cc-p+7iV44sFAwSNL5MIYNFISQbw4o\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:35:34 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"model\": {\n            \"id\": 1,\n            \"name\": \"pizza big\",\n            \"description\": \"pizza description\",\n            \"price\": 50,\n            \"category_id\": 1,\n            \"createdAt\": \"2024-12-15T21:29:19.267Z\",\n            \"updatedAt\": \"2024-12-15T21:29:19.267Z\"\n        }\n    }\n}"}],"_postman_id":"6c795254-1b53-48a9-b5ac-8b4f03ae36ee"},{"name":"update-menu","id":"840b41de-466f-4757-ac41-a255ea7ced98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"content-type","sortOrder":4,"infoTitle":"This header was automatically added","info":"The Content-Type header is added to help the server identify the media type of the request body that is present in this request.\n\nUse the request body tab to control the value or to remove this header.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Type","value":"application/json","system":true,"type":"text","id":2},{"name":"content-length","sortOrder":5,"infoTitle":"This header was automatically added","info":"The Content-Length header was added to indicate to the server the size of the request body that is added to this request. Server uses this value to parse the request body accurately.\n\nYou can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Length","value":"<calculated when request is sent>","system":true,"type":"text","id":3},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":4},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":5},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":6},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":7},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":8},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"pizza big\",\r\n    \"description\":\"pizza description\",\r\n    \"price\":50,\r\n    \"category_id\":1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/menu_items/1","urlObject":{"path":["menu_items","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"840b41de-466f-4757-ac41-a255ea7ced98"},{"name":"delete-menu","id":"7aa1da56-817d-4064-899e-ea892f6ee3ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{BASE_URL}}/menu_items/1","urlObject":{"path":["menu_items","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7aa1da56-817d-4064-899e-ea892f6ee3ec"}],"id":"761e1265-e0f1-43a1-8dbd-7685e7373470","_postman_id":"761e1265-e0f1-43a1-8dbd-7685e7373470","description":""},{"name":"orders","item":[{"name":"create-order","id":"9f233768-787c-407d-834f-36fbfdc1f484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"content-type","sortOrder":4,"infoTitle":"This header was automatically added","info":"The Content-Type header is added to help the server identify the media type of the request body that is present in this request.\n\nUse the request body tab to control the value or to remove this header.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Type","value":"application/json","system":true,"type":"text","id":2},{"name":"content-length","sortOrder":5,"infoTitle":"This header was automatically added","info":"The Content-Length header was added to indicate to the server the size of the request body that is added to this request. Server uses this value to parse the request body accurately.\n\nYou can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Length","value":"<calculated when request is sent>","system":true,"type":"text","id":3},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":4},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":5},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":6},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":7},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":8},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\": 1,\r\n    \"status\": \"pending\",\r\n    \"total_amount\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/orders/","urlObject":{"path":["orders",""],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"55e4cf05-e8d6-4a5b-a51b-777714c8df07","name":"create-order","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_id\": 2,\r\n    \"status\": \"pending\",\r\n    \"total_amount\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/orders/"},"status":"Created","code":201,"_postman_previewlanguage":"JSON","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"172","type":"text"},{"key":"ETag","value":"W/\"ac-9Kvl1n9fgh8BMdAyXzzKxPU8sME\"","type":"text"},{"key":"Date","value":"Fri, 13 Dec 2024 15:40:10 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"model\": {\n            \"createdAt\": \"2024-12-13T15:40:10.199Z\",\n            \"id\": 2,\n            \"user_id\": 2,\n            \"status\": \"pending\",\n            \"total_amount\": 3,\n            \"updatedAt\": \"2024-12-13T15:40:10.199Z\"\n        }\n    }\n}"},{"id":"1137183a-f080-4447-a832-3fadebba2345","name":"create-order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\": 1,\r\n    \"status\": \"pending\",\r\n    \"total_amount\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/orders/"},"status":"Created","code":201,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"172","type":"text"},{"key":"ETag","value":"W/\"ac-9L+5VBAIQ2CdIJLHVQ+DOI6NWHk\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:49:40 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"model\": {\n            \"createdAt\": \"2024-12-15T21:49:33.801Z\",\n            \"id\": 2,\n            \"user_id\": 1,\n            \"status\": \"pending\",\n            \"total_amount\": 3,\n            \"updatedAt\": \"2024-12-15T21:49:33.801Z\"\n        }\n    }\n}"}],"_postman_id":"9f233768-787c-407d-834f-36fbfdc1f484"},{"name":"mark_order_completed","id":"3a2e6eb1-2250-48d1-b63e-19c7b6031316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"url":"{{BASE_URL}}/orders/1/complete","urlObject":{"path":["orders","1","complete"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"105755a8-27ea-412f-a212-0edf1deb366f","name":"mark_order_completed","originalRequest":{"method":"PUT","header":[],"url":"http://localhost:3000/api/orders/1/complete"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"42","type":"text"},{"key":"ETag","value":"W/\"2a-ftFGgQnPRpfp7WB37gsNn64BLZo\"","type":"text"},{"key":"Date","value":"Fri, 13 Dec 2024 15:32:05 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Order completed successfully\"\n}"}],"_postman_id":"3a2e6eb1-2250-48d1-b63e-19c7b6031316"},{"name":"get-order-data","id":"94ee1b3d-18d5-4b24-894b-9abe45475d00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":2},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":3},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":4},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":5},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":6},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":"{{BASE_URL}}/orders/Orders/data?startDate=2024-12-13&endDate=2024-12-14&type=xlsc","urlObject":{"path":["orders","Orders","data"],"host":["{{BASE_URL}}"],"query":[{"key":"startDate","value":"2024-12-13"},{"key":"endDate","value":"2024-12-14"},{"key":"type","value":"xlsc"}],"variable":[]}},"response":[{"id":"44ce71c0-3829-4b1c-8f42-7bdde1813cc7","name":"get-order-data","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":{"raw":"{{BASE_URL}}/orders/Orders/data?startDate=2024-12-13&endDate=2024-12-14&type=xlsc","host":["{{BASE_URL}}"],"path":["orders","Orders","data"],"query":[{"key":"startDate","value":"2024-12-13","sortOrder":0},{"key":"endDate","value":"2024-12-14","sortOrder":1},{"key":"type","value":"xlsc","sortOrder":2}]}},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"36","type":"text"},{"key":"ETag","value":"W/\"24-Bk7UTti1FROx+FgcOxSMhd8lRe0\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 17:55:32 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Excel export completed\"\n}"}],"_postman_id":"94ee1b3d-18d5-4b24-894b-9abe45475d00"},{"name":"get-all-order","id":"35dfc8e6-273f-4a04-87ee-3eea261c6def","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":2},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":3},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":4},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":5},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":6},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":"{{BASE_URL}}/orders/","urlObject":{"path":["orders",""],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f21aba07-d39e-48b7-bfab-ecfd88c16b0b","name":"get-all-order","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":"{{BASE_URL}}/orders/"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"976","type":"text"},{"key":"ETag","value":"W/\"3d0-SoCLXUgCtVQ4NIBGbyWpqUMMhRY\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 14:35:07 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"results\": 5,\n    \"data\": {\n        \"ordersData\": [\n            {\n                \"id\": 1,\n                \"status\": \"completed\",\n                \"total_amount\": 2,\n                \"user_id\": 2,\n                \"createdAt\": \"2024-12-13T14:53:55.450Z\",\n                \"updatedAt\": \"2024-12-13T15:32:05.525Z\",\n                \"order_item\": [\n                    {\n                        \"id\": 1,\n                        \"quantity\": 2,\n                        \"unit_price\": \"16\",\n                        \"subtotal\": \"32\",\n                        \"menu_item_id\": 1,\n                        \"order_id\": 1,\n                        \"createdAt\": \"2024-12-13T14:59:47.617Z\",\n                        \"updatedAt\": \"2024-12-13T14:59:47.617Z\"\n                    }\n                ]\n            },\n            {\n                \"id\": 2,\n                \"status\": \"expired\",\n                \"total_amount\": 3,\n                \"user_id\": 2,\n                \"createdAt\": \"2024-12-13T15:40:10.199Z\",\n                \"updatedAt\": \"2024-12-14T07:01:00.477Z\",\n                \"order_item\": []\n            },\n            {\n                \"id\": 5,\n                \"status\": \"expired\",\n                \"total_amount\": 6,\n                \"user_id\": 2,\n                \"createdAt\": \"2024-12-14T07:05:42.016Z\",\n                \"updatedAt\": \"2024-12-15T07:00:00.910Z\",\n                \"order_item\": []\n            },\n            {\n                \"id\": 4,\n                \"status\": \"expired\",\n                \"total_amount\": 5,\n                \"user_id\": 2,\n                \"createdAt\": \"2024-12-14T06:56:47.280Z\",\n                \"updatedAt\": \"2024-12-14T07:01:00.477Z\",\n                \"order_item\": []\n            },\n            {\n                \"id\": 3,\n                \"status\": \"expired\",\n                \"total_amount\": 4,\n                \"user_id\": 2,\n                \"createdAt\": \"2024-12-14T06:53:02.939Z\",\n                \"updatedAt\": \"2024-12-14T07:01:00.477Z\",\n                \"order_item\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"35dfc8e6-273f-4a04-87ee-3eea261c6def"},{"name":"get-one-order","id":"485eb3f7-b95c-40ee-91a1-dc6067cae817","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":2},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":3},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":4},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":5},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":6},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":"{{BASE_URL}}/orders/1","urlObject":{"path":["orders","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c36f2320-6893-4bdd-af96-f774eb3ff8c5","name":"get-one-order","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":"{{BASE_URL}}/orders/1"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"174","type":"text"},{"key":"ETag","value":"W/\"ae-PBat13QjjTAQQ3gGahtQwckJxsQ\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 18:01:39 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"order\": {\n            \"id\": 1,\n            \"status\": \"completed\",\n            \"total_amount\": 2,\n            \"user_id\": 2,\n            \"createdAt\": \"2024-12-13T14:53:55.450Z\",\n            \"updatedAt\": \"2024-12-13T15:32:05.525Z\"\n        }\n    }\n}"}],"_postman_id":"485eb3f7-b95c-40ee-91a1-dc6067cae817"}],"id":"fa8ea19d-8d3c-4dfe-99fa-99f5255ac706","_postman_id":"fa8ea19d-8d3c-4dfe-99fa-99f5255ac706","description":""},{"name":"orders_items","item":[{"name":"add_orderItems","id":"f01906d2-9e2e-45b8-81d7-860247a85711","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"content-type","sortOrder":4,"infoTitle":"This header was automatically added","info":"The Content-Type header is added to help the server identify the media type of the request body that is present in this request.\n\nUse the request body tab to control the value or to remove this header.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Type","value":"application/json","system":true,"type":"text","id":2},{"name":"content-length","sortOrder":5,"infoTitle":"This header was automatically added","info":"The Content-Length header was added to indicate to the server the size of the request body that is added to this request. Server uses this value to parse the request body accurately.\n\nYou can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"previewSettingsLink":"Go to body","key":"Content-Length","value":"<calculated when request is sent>","system":true,"type":"text","id":3},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":4},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":5},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":6},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":7},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":8},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\":1,\r\n    \"menuItemId\": 1,\r\n    \"quantity\": 2\r\n    }","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/order_items/2","urlObject":{"path":["order_items","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"acba080d-6669-4acf-9bc5-8f47b94e1074","name":"add_orderItems","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":9}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\":1,\r\n    \"menuItemId\": 1,\r\n    \"quantity\": 2\r\n    }","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/order_items/2"},"status":"Created","code":201,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"164","type":"text"},{"key":"ETag","value":"W/\"a4-kWuOYPNh1ZEE5bHwTELPP/Ixv+Y\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:53:18 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"order_id\": 2,\n    \"menu_item_id\": 1,\n    \"quantity\": 2,\n    \"unit_price\": \"50\",\n    \"subtotal\": \"100\",\n    \"updatedAt\": \"2024-12-15T21:53:18.314Z\",\n    \"createdAt\": \"2024-12-15T21:53:18.314Z\"\n}"}],"_postman_id":"f01906d2-9e2e-45b8-81d7-860247a85711"},{"name":"top_selling_items","id":"6c276bcb-f253-44ed-bcef-a1463301c9a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":2},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":3},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":4},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":5},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":6},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":"{{BASE_URL}}/order_items/top-selling-items?type=xlsx","urlObject":{"path":["order_items","top-selling-items"],"host":["{{BASE_URL}}"],"query":[{"key":"type","value":"xlsx"}],"variable":[]}},"response":[{"id":"bf41ddd0-93b8-446b-abec-075edc608e53","name":"top_selling_items","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":{"raw":"{{BASE_URL}}/order_items/top-selling-items?type=xlsx","host":["{{BASE_URL}}"],"path":["order_items","top-selling-items"],"query":[{"key":"type","value":"xlsx","sortOrder":0}]}},"status":"OK","code":200,"_postman_previewlanguage":"HTML","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"text/html; charset=utf-8","type":"text"},{"key":"Content-Length","value":"33","type":"text"},{"key":"ETag","value":"W/\"21-MTtg9Nge5JQVngBcXbTqT9PnVqM\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 13:38:19 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"Excel file exported successfully."}],"_postman_id":"6c276bcb-f253-44ed-bcef-a1463301c9a3"},{"name":"remove-orderItem","id":"85855042-9ed5-492e-af79-55ea8601a4bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"name":"cache-control","sortOrder":2,"infoTitle":"We recommend using this header","info":"Postman added \"Cache-Control: no-cache\" as a precautionary measure to prevent the server from returning stale response when one makes repeated requests.\n\nYou can remove this header in the app settings or enter a new one with a different value.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Cache-Control","value":"no-cache","system":true,"type":"text","id":0},{"name":"postman-token","sortOrder":3,"infoTitle":"We recommend using this header","info":"The Postman-Token header appends a random UUID to every outgoing request. Postman adds this header for API developers to better debug requests sent and to ensure separate requests appear distinct to the receiving server.\n\nYou can remove this header in the app settings.","allowedToToggle":false,"disableEdit":true,"previewSettingsLink":"Go to settings","key":"Postman-Token","value":"<calculated when request is sent>","system":true,"type":"text","id":1},{"name":"host","sortOrder":6,"infoTitle":"We recommend using this header","info":"The Host header is added to identify the domain name for which a request is being sent to the server. This header is implicitly sent by every HTTP client.\n\nYou can remove the header or enter a new one with a different value. It is most likely that without this header, your request will return an HTTP 400 error.","allowedToToggle":true,"disableEdit":true,"key":"Host","value":"<calculated when request is sent>","system":true,"type":"text","id":2},{"name":"user-agent","sortOrder":7,"infoTitle":"We recommend using this header","info":"The User-Agent header is added to help the server identify Postman as the HTTP requesting application or client.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"User-Agent","value":"PostmanRuntime/7.39.1","system":true,"type":"text","id":3},{"name":"accept","sortOrder":8,"infoTitle":"We recommend using this header","info":"The \"Accept: */*\" header is added to tell the server that Postman can understand and process all forms of response content types.\n\nIt is recommended that this header be sent, but you can remove the header or enter a new one with a different value.","allowedToToggle":true,"disableEdit":true,"key":"Accept","value":"*/*","system":true,"type":"text","id":4},{"name":"accept-encoding","sortOrder":9,"infoTitle":"We recommend using this header","info":"The Accept-Encoding header is added to indicate to the server that Postman HTTP client supports a defined list of content-encoding or compression algorithms as response.\n\nYou can remove the header or enter a new one with a different value. Doing that may not accurately render the response within the app.","allowedToToggle":true,"disableEdit":true,"key":"Accept-Encoding","value":"gzip, deflate, br","system":true,"type":"text","id":5},{"name":"connection","sortOrder":10,"infoTitle":"We recommend using this header","info":"Postman added the Connection header to indicate the server to keep the underlying network connection open once the current response is received. This allows Postman to reuse the same connection for faster response times in subsequent requests to the same server.\n\nYou can remove this header or enter a new one with a different value, such as `Connection: Close` to control this behaviour.","allowedToToggle":true,"disableEdit":true,"key":"Connection","value":"keep-alive","system":true,"type":"text","id":6},{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":"{{BASE_URL}}/order_items/2/1","urlObject":{"path":["order_items","2","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"3d5059f5-935c-40e1-82c5-04952ba8bf81","name":"remove-orderItem","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{JWT}}","type":"text","id":7}],"url":"{{BASE_URL}}/order_items/2/1"},"status":"OK","code":200,"_postman_previewlanguage":"JSON","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests","type":"text"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin","type":"text"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin","type":"text"},{"key":"Origin-Agent-Cluster","value":"?1","type":"text"},{"key":"Referrer-Policy","value":"no-referrer","type":"text"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains","type":"text"},{"key":"X-Content-Type-Options","value":"nosniff","type":"text"},{"key":"X-DNS-Prefetch-Control","value":"off","type":"text"},{"key":"X-Download-Options","value":"noopen","type":"text"},{"key":"X-Frame-Options","value":"SAMEORIGIN","type":"text"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","type":"text"},{"key":"X-XSS-Protection","value":"0","type":"text"},{"key":"Access-Control-Allow-Origin","value":"*","type":"text"},{"key":"Content-Type","value":"application/json; charset=utf-8","type":"text"},{"key":"Content-Length","value":"39","type":"text"},{"key":"ETag","value":"W/\"27-nltleyhBfkT4CcOnzO+guzRZ3r0\"","type":"text"},{"key":"Date","value":"Sun, 15 Dec 2024 21:57:12 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Item removed successfully\"\n}"}],"_postman_id":"85855042-9ed5-492e-af79-55ea8601a4bf"}],"id":"ad958246-8ade-4625-92dc-cde7816115dd","_postman_id":"ad958246-8ade-4625-92dc-cde7816115dd","description":""},{"name":"password-reset","item":[{"name":"send_link_resetPassword","id":"e8aa1b2d-e5bb-437b-b895-13f4de61830c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"engmogamil@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/password-reset/reset-password","urlObject":{"path":["password-reset","reset-password"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"3fbdf3a5-59ea-4405-a6d4-daf5ef1fca0f","name":"send_link_resetPassword","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"engmogamil@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/password-reset/reset-password"},"status":"OK","code":200,"_postman_previewlanguage":"HTML","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"text/html; charset=utf-8","type":"text"},{"key":"Content-Length","value":"46","type":"text"},{"key":"ETag","value":"W/\"2e-ZjvKQV4Iozpz04kbkPPp/raR/PI\"","type":"text"},{"key":"Date","value":"Fri, 13 Dec 2024 17:54:15 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"password reset link sent to your email account"}],"_postman_id":"e8aa1b2d-e5bb-437b-b895-13f4de61830c"},{"name":"reset-user-password","id":"4fd38ebc-06c4-41ed-83d7-e53a4c173985","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\":\"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/password-reset/reset-password/2/42d59cf549a222f5721d278196a9b54dd3fa43165159d19962c60faa4250ae57","urlObject":{"path":["password-reset","reset-password","2","42d59cf549a222f5721d278196a9b54dd3fa43165159d19962c60faa4250ae57"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"51ac3010-521e-4c57-ade2-2b7ca39b2eef","name":"reset-user-password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\":\"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/password-reset/reset-password/2/42d59cf549a222f5721d278196a9b54dd3fa43165159d19962c60faa4250ae57"},"status":"OK","code":200,"_postman_previewlanguage":"HTML","header":[{"key":"X-Powered-By","value":"Express","type":"text"},{"key":"Content-Type","value":"text/html; charset=utf-8","type":"text"},{"key":"Content-Length","value":"27","type":"text"},{"key":"ETag","value":"W/\"1b-CZ1nqlJnUaBfzf6NrN2OneU2+3s\"","type":"text"},{"key":"Date","value":"Fri, 13 Dec 2024 18:21:48 GMT","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"},{"key":"Keep-Alive","value":"timeout=5","type":"text"}],"cookie":[],"responseTime":null,"body":"password reset sucessfully."}],"_postman_id":"4fd38ebc-06c4-41ed-83d7-e53a4c173985"}],"id":"39500f7f-a1a6-4371-ae11-6b5910076bd4","_postman_id":"39500f7f-a1a6-4371-ae11-6b5910076bd4","description":""}]}