{"info":{"_postman_id":"f0395780-995e-426c-b663-1e76562ad715","name":"Recipe Sharing API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>Recipe Sharing is an API which provide some cooking recipe from a different country</p>\n<h1 id=\"overview\">Overview</h1>\n<p>RecipeSharing application provide some recipe which can be modified by user by creating new user, new categories, new recipe or delete user &amp; recipe by ID.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>jasonwebtoken implemetation to access the web application</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"}],"owner":"23401470","collectionId":"f0395780-995e-426c-b663-1e76562ad715","publishedId":"2s8Z6yXCpr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-12-29T15:55:12.000Z"},"item":[{"name":"Auth","item":[{"name":"https://finalproject-recipesharing.fly.dev/logins","id":"992a8265-7990-469d-ba74-8039a4a46244","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userName\" : \"kaleo\",\r\n    \"password\" : 123456\r\n}"},"url":"https://finalproject-recipesharing.fly.dev/logins","description":"<p>login to recipeSharing app.</p>\n","urlObject":{"protocol":"https","path":["logins"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"e1a4d8c2-98eb-4ff8-970a-e450090657df","name":"success : https://finalproject-recipesharing.fly.dev/logins","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userName\" : \"kaleo\",\r\n    \"password\" : \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/logins"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"f9-t69HnhSCxhYBtjiXqZqJliPWAJg\""},{"key":"date","value":"Thu, 29 Dec 2022 22:34:17 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0B64K5D9Q4FHQQCH1DGV1-sin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Welcome kaleo to Recipes Sharing Application\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyTmFtZSI6ImthbGVvIiwicGFzc3dvcmQiOiIxMjM0NTYiLCJpYXQiOjE2NzIzNTMyNTcsImV4cCI6MTY3MjM2MDQ1N30.NWraJhM2AFTo1ZeWSoTDHNFOSCoZeX6gpI4RooCuj6E\"\n}"},{"id":"38a17a5e-2452-454c-8f9e-5fc2c2c38985","name":"error : https://finalproject-recipesharing.fly.dev/logins","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userName\" : \"x\",\r\n    \"password\" : \"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/logins"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"2a-J79XYkVTrFi5oyJx5Se61hj91PA\""},{"key":"date","value":"Thu, 29 Dec 2022 22:36:11 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0EMQ31XKNJP59NYPR04MC-sin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Please Register your Account\"\n}"}],"_postman_id":"992a8265-7990-469d-ba74-8039a4a46244"},{"name":"https://finalproject-recipesharing.fly.dev/registers","id":"b151a00c-74f5-492c-857b-68009b2d508d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"https://finalproject-recipesharing.fly.dev/registers","description":"<p>new user may register to recipeSharing app</p>\n","urlObject":{"protocol":"https","path":["registers"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"90abd572-4a43-4781-99af-4ff242653c9a","name":"success : https://finalproject-recipesharing.fly.dev/registers","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userName\" : \"Borneo\",\r\n    \"password\" : 123456,\r\n    \"email\" : \"borneo@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/registers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"38-BftXbPPzFhJfH3aySEMGpEDrd5E\""},{"key":"date","value":"Thu, 29 Dec 2022 07:32:11 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNECQC1VVQWBN1JCN6CEPFAX-iad"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Hi  Borneo  Your Registration is Succesful\"\n}"}],"_postman_id":"b151a00c-74f5-492c-857b-68009b2d508d"},{"name":"https://finalproject-recipesharing.fly.dev/categories/10","id":"e0789f07-add4-47c5-9867-8bebbaa81b01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://finalproject-recipesharing.fly.dev/categories/10","urlObject":{"protocol":"https","path":["categories","10"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"e422036a-7b13-4356-a805-aa489027fd7e","name":"success : https://finalproject-recipesharing.fly.dev/categories/10","originalRequest":{"method":"DELETE","header":[],"url":"https://finalproject-recipesharing.fly.dev/categories/10"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"38-lMayvl9qzDKtvisQG+ei9NFN/Q8\""},{"key":"date","value":"Thu, 29 Dec 2022 22:41:17 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0QZZCQZHNPGGN71E8FK7B-sin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"category with ID : 10 deleted successfully\"\n}"},{"id":"d81f2a79-771b-47d1-81e1-b2323cc33a0e","name":"invalid token : https://finalproject-recipesharing.fly.dev/categories/10","originalRequest":{"method":"DELETE","header":[],"url":"https://finalproject-recipesharing.fly.dev/categories/10"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"html","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"text/html; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"d-GLqvnw/1O/MWaNK/4OhPBcb7NQs\""},{"key":"date","value":"Thu, 29 Dec 2022 22:41:44 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0RT4MPXWEXS7CG8WFE9FS-sin"}],"cookie":[],"responseTime":null,"body":"Invalid Token"},{"id":"d57e3481-2059-456a-b75d-c740b72e5222","name":"no token : https://finalproject-recipesharing.fly.dev/categories/10","originalRequest":{"method":"DELETE","header":[],"url":"https://finalproject-recipesharing.fly.dev/categories/10"},"status":"Forbidden","code":403,"_postman_previewlanguage":"html","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"text/html; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"26-5iafIA9nBRk2WUQaD8Ai8nUSe+M\""},{"key":"date","value":"Thu, 29 Dec 2022 22:42:05 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0SF75EJDQNR87NKH5K7V0-sin"}],"cookie":[],"responseTime":null,"body":"A token is required for authentication"}],"_postman_id":"e0789f07-add4-47c5-9867-8bebbaa81b01"},{"name":"https://finalproject-recipesharing.fly.dev/categories","id":"fa8f8c7d-089f-4f17-a1ae-19371a4235fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"categoryName\" : \"Korean\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/categories","urlObject":{"protocol":"https","path":["categories"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"2dd7e865-2437-471e-bce0-ca21f894f58e","name":"success : https://finalproject-recipesharing.fly.dev/categories","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"categoryName\" : \"Taiwanese\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"23-UD491PglUDYSmN0n2E2HTpRm3pU\""},{"key":"date","value":"Thu, 29 Dec 2022 22:44:32 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0XY64YD9YH2VQJRJRAGFX-sin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Taiwanese is submited\"\n}"},{"id":"7a577d74-b2da-4cec-937e-5504dbd2ccd8","name":"already registered : https://finalproject-recipesharing.fly.dev/categories","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"categoryName\" : \"Taiwanese\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/categories"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"3b-7O3KpF6dyTYmNMUIsYbNSf20nzs\""},{"key":"date","value":"Thu, 29 Dec 2022 22:44:48 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0YEDMS52TZ6ME4PD3NP87-sin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Category Name : Taiwanese  already registered\"\n}"},{"id":"566c9229-a9a6-4670-a3b6-cb092301c9c1","name":"no token : https://finalproject-recipesharing.fly.dev/categories","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"categoryName\" : \"Taiwanese\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/categories"},"status":"Forbidden","code":403,"_postman_previewlanguage":"html","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"text/html; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"26-5iafIA9nBRk2WUQaD8Ai8nUSe+M\""},{"key":"date","value":"Thu, 29 Dec 2022 22:45:07 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0Z0DKB7C6GMV5DE07BFR6-sin"}],"cookie":[],"responseTime":null,"body":"A token is required for authentication"}],"_postman_id":"fa8f8c7d-089f-4f17-a1ae-19371a4235fe"},{"name":"https://finalproject-recipesharing.fly.dev/recipes","id":"12afcedd-8bd4-46b2-993a-443e596391ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"categoryName\" : \"Western\",\r\n    \"recipeTitle\" : \"Mini Burger\",\r\n    \"recipeIngredients\" : \"1. 175gr tepung protein tinggi, 2. 125 tepung protein sedang, 3. 50gr gula pasir, 4. 3gr ragi instant, 5. 15gr susu bubuk, 6. 1 butir telur, 7. 110 ml air, 8. 1/4 sdt garam ; untuk isian: 1. secukupnya daging burger, 2. keju sloice quickmelt, 3. daun selada, rimun, tomat diiris tipis, 4. mayonaise dan saus sambal  \",\r\n    \"recipeDescription\" : \"1. masukkan dalam wadah terigu, gula, susu bubuk, ragi instant, aduk rata 2. masukkan 1 telur, tambahkan air sedikit demi sedikit sambil diuleni sampai kalis, 3. masukkan margarine dan garam, 4. bulatkan adonan dan tutup dengan plastik diamkan kira - kira 45 menit, 5. bagi menjadi 12 bagian, dan bulatkan kemudian diamkan 20 menit, 6. Oven selama 20 menit \", \r\n    \"recipeImages\" : \"burger.img\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/recipes","urlObject":{"protocol":"https","path":["recipes"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"cb98d627-9b77-4419-8ccf-30d782914715","name":"success : https://finalproject-recipesharing.fly.dev/recipes","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"categoryName\" : \"Western\",\r\n    \"recipeTitle\" : \"Mini Burger\",\r\n    \"recipeIngredients\" : \"1. 175gr tepung protein tinggi, 2. 125 tepung protein sedang, 3. 50gr gula pasir, 4. 3gr ragi instant, 5. 15gr susu bubuk, 6. 1 butir telur, 7. 110 ml air, 8. 1/4 sdt garam ; untuk isian: 1. secukupnya daging burger, 2. keju sloice quickmelt, 3. daun selada, rimun, tomat diiris tipis, 4. mayonaise dan saus sambal  \",\r\n    \"recipeDescription\" : \"1. masukkan dalam wadah terigu, gula, susu bubuk, ragi instant, aduk rata 2. masukkan 1 telur, tambahkan air sedikit demi sedikit sambil diuleni sampai kalis, 3. masukkan margarine dan garam, 4. bulatkan adonan dan tutup dengan plastik diamkan kira - kira 45 menit, 5. bagi menjadi 12 bagian, dan bulatkan kemudian diamkan 20 menit, 6. Oven selama 20 menit \", \r\n    \"recipeImages\" : \"burger.img\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/recipes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"25-iS7HEYlVh12Ioy//+trVjezWMsg\""},{"key":"date","value":"Fri, 30 Dec 2022 13:20:38 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNHK24JFWNAQ8P1XYZ3CXWYV-sin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Mini Burger is submited\"\n}"},{"id":"6da50d05-cacf-46ac-ace5-5209063b2a65","name":"no token : https://finalproject-recipesharing.fly.dev/recipes","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"categoryName\" : \"Western\",\r\n    \"recipeTitle\" : \"Mini Burger\",\r\n    \"recipeIngredients\" : \"1. 175gr tepung protein tinggi, 2. 125 tepung protein sedang, 3. 50gr gula pasir, 4. 3gr ragi instant, 5. 15gr susu bubuk, 6. 1 butir telur, 7. 110 ml air, 8. 1/4 sdt garam ; untuk isian: 1. secukupnya daging burger, 2. keju sloice quickmelt, 3. daun selada, rimun, tomat diiris tipis, 4. mayonaise dan saus sambal  \",\r\n    \"recipeDescription\" : \"1. masukkan dalam wadah terigu, gula, susu bubuk, ragi instant, aduk rata 2. masukkan 1 telur, tambahkan air sedikit demi sedikit sambil diuleni sampai kalis, 3. masukkan margarine dan garam, 4. bulatkan adonan dan tutup dengan plastik diamkan kira - kira 45 menit, 5. bagi menjadi 12 bagian, dan bulatkan kemudian diamkan 20 menit, 6. Oven selama 20 menit \", \r\n    \"recipeImages\" : \"burger.img\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://finalproject-recipesharing.fly.dev/recipes"},"status":"Forbidden","code":403,"_postman_previewlanguage":"html","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"text/html; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"26-5iafIA9nBRk2WUQaD8Ai8nUSe+M\""},{"key":"date","value":"Fri, 30 Dec 2022 13:21:34 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNHK3V92FAY0KCG9595TQZHF-sin"}],"cookie":[],"responseTime":null,"body":"A token is required for authentication"}],"_postman_id":"12afcedd-8bd4-46b2-993a-443e596391ce"},{"name":"https://finalproject-recipesharing.fly.dev/recipes/13","id":"7fe94115-f316-4e59-87b3-b3d2ece35aae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://finalproject-recipesharing.fly.dev/recipes/13","urlObject":{"protocol":"https","path":["recipes","13"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"3e245821-f536-47ef-9c84-e29d2694cdbb","name":"success : https://finalproject-recipesharing.fly.dev/recipes/13","originalRequest":{"method":"DELETE","header":[],"url":"https://finalproject-recipesharing.fly.dev/recipes/13"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"39-C3XruAb0B37g60NEofd3v4MFM+0\""},{"key":"date","value":"Fri, 30 Dec 2022 13:23:02 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNHK6H5J686M1PM22XRBSAD9-sin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Categories with ID: 13 deleted successfully\"\n}"},{"id":"ec433715-5d13-4625-aba8-6e9978a60223","name":"invalid token : https://finalproject-recipesharing.fly.dev/recipes/13","originalRequest":{"method":"DELETE","header":[],"url":"https://finalproject-recipesharing.fly.dev/recipes/13"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"html","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"text/html; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"d-GLqvnw/1O/MWaNK/4OhPBcb7NQs\""},{"key":"date","value":"Fri, 30 Dec 2022 13:23:32 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNHK7EKJNQK720F8TQRC9TN0-sin"}],"cookie":[],"responseTime":null,"body":"Invalid Token"}],"_postman_id":"7fe94115-f316-4e59-87b3-b3d2ece35aae"}],"id":"61e6ab2d-4f3f-48d8-a6a5-6ee01e38387a","description":"<p>recipeSharing API with authorization</p>\n","_postman_id":"61e6ab2d-4f3f-48d8-a6a5-6ee01e38387a"},{"name":"No Auth","item":[{"name":"https://finalproject-recipesharing.fly.dev/categories","id":"4897da7e-0438-4a9e-a5ae-e3fedd9e6fc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://finalproject-recipesharing.fly.dev/categories","description":"<p>show all categories contained in the recipeSharing app</p>\n","urlObject":{"protocol":"https","path":["categories"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"38d73250-e9a7-4568-9c49-593c51ddd1a8","name":"success : https://finalproject-recipesharing.fly.dev/categories","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://finalproject-recipesharing.fly.dev/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"24e-vZh73V+RMRRateWKTHbEBUPVRAg\""},{"key":"date","value":"Thu, 29 Dec 2022 08:00:22 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNEEAZWQY1KPEWSJ61N8M97Q-sin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"categoryName\": \"Sundanese\",\n        \"createdAt\": \"2022-11-23T23:22:13.000Z\"\n    },\n    {\n        \"id\": 2,\n        \"categoryName\": \"Javanese\",\n        \"createdAt\": \"2022-11-23T23:31:03.000Z\"\n    },\n    {\n        \"id\": 4,\n        \"categoryName\": \"Western\",\n        \"createdAt\": \"2022-11-23T23:34:37.000Z\"\n    },\n    {\n        \"id\": 5,\n        \"categoryName\": \"Chinese\",\n        \"createdAt\": \"2022-11-23T23:34:37.000Z\"\n    },\n    {\n        \"id\": 6,\n        \"categoryName\": \"Other\",\n        \"createdAt\": \"2022-11-23T23:34:37.000Z\"\n    },\n    {\n        \"id\": 7,\n        \"categoryName\": \"Mexicano\",\n        \"createdAt\": \"2022-11-25T08:46:24.000Z\"\n    },\n    {\n        \"id\": 8,\n        \"categoryName\": \"Balinese\",\n        \"createdAt\": \"2022-11-25T10:34:50.000Z\"\n    },\n    {\n        \"id\": 14,\n        \"categoryName\": \"Japanese\",\n        \"createdAt\": \"2022-12-07T08:15:05.000Z\"\n    }\n]"}],"_postman_id":"4897da7e-0438-4a9e-a5ae-e3fedd9e6fc9"},{"name":"https://finalproject-recipesharing.fly.dev/categories/4","id":"1c2166bc-7d43-4855-9372-84ad51103371","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://finalproject-recipesharing.fly.dev/categories/4","urlObject":{"protocol":"https","path":["categories","4"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"6ae70189-e528-4291-a063-6181e7d50421","name":"success : https://finalproject-recipesharing.fly.dev/categories/4","originalRequest":{"method":"GET","header":[],"url":"https://finalproject-recipesharing.fly.dev/categories/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"4a-batfN5r1R+gL5W66kPJ2w1Xrn1I\""},{"key":"date","value":"Thu, 29 Dec 2022 08:09:18 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNEEVAS5DX171J7BKTWP7P6N-sin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 4,\n        \"categoryName\": \"Western\",\n        \"createdAt\": \"2022-11-23T23:34:37.000Z\"\n    }\n]"},{"id":"990304f6-e386-4916-be16-b61e5b4f2517","name":"success : https://finalproject-recipesharing.fly.dev/categories/4","originalRequest":{"method":"GET","header":[],"url":"https://finalproject-recipesharing.fly.dev/categories/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"4b-MmxpyhIQClYhSSZ2s5avBYM78TU\""},{"key":"date","value":"Thu, 29 Dec 2022 22:39:24 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNG0MHCB77R2SP1DFANA98EY-sin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"categoryName\": \"Javanese\",\n        \"createdAt\": \"2022-11-23T23:31:03.000Z\"\n    }\n]"}],"_postman_id":"1c2166bc-7d43-4855-9372-84ad51103371"},{"name":"https://finalproject-recipesharing.fly.dev/recipes/14","id":"1dcbcab7-97cd-4237-8506-42efb735e760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://finalproject-recipesharing.fly.dev/recipes/14","urlObject":{"protocol":"https","path":["recipes","14"],"host":["finalproject-recipesharing","fly","dev"],"query":[],"variable":[]}},"response":[{"id":"49a40581-d8dd-44a9-9766-13070eacf860","name":"success : https://finalproject-recipesharing.fly.dev/recipes/14","originalRequest":{"method":"GET","header":[],"url":"https://finalproject-recipesharing.fly.dev/recipes/14"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-encoding","value":"gzip"},{"key":"etag","value":"W/\"365-hMKaQjBs31v56ofszZOQCJAfZ8E\""},{"key":"date","value":"Fri, 30 Dec 2022 13:27:43 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"},{"key":"server","value":"Fly/bb7817cd (2022-12-23)"},{"key":"via","value":"1.1 fly.io"},{"key":"fly-request-id","value":"01GNHKF3SV98WCYDASDEXZR5KQ-sin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"recipeID\": 14,\n        \"categoryName\": \"Western\",\n        \"recipeTitle\": \"Mini Burger\",\n        \"recipeIngredients\": \"1. 175gr tepung protein tinggi, 2. 125 tepung protein sedang, 3. 50gr gula pasir, 4. 3gr ragi instant, 5. 15gr susu bubuk, 6. 1 butir telur, 7. 110 ml air, 8. 1/4 sdt garam ; untuk isian: 1. secukupnya daging burger, 2. keju sloice quickmelt, 3. daun selada, rimun, tomat diiris tipis, 4. mayonaise dan saus sambal  \",\n        \"recipeDescription\": \"1. masukkan dalam wadah terigu, gula, susu bubuk, ragi instant, aduk rata 2. masukkan 1 telur, tambahkan air sedikit demi sedikit sambil diuleni sampai kalis, 3. masukkan margarine dan garam, 4. bulatkan adonan dan tutup dengan plastik diamkan kira - kira 45 menit, 5. bagi menjadi 12 bagian, dan bulatkan kemudian diamkan 20 menit, 6. Oven selama 20 menit \",\n        \"recipeImages\": {\n            \"type\": \"Buffer\",\n            \"data\": [\n                98,\n                117,\n                114,\n                103,\n                101,\n                114,\n                46,\n                105,\n                109,\n                103\n            ]\n        }\n    }\n]"}],"_postman_id":"1dcbcab7-97cd-4237-8506-42efb735e760"}],"id":"8cea5f42-8c0c-4daf-9088-4470d49fe4df","_postman_id":"8cea5f42-8c0c-4daf-9088-4470d49fe4df","description":""}]}