{"info":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"15594311","collectionId":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","publishedId":"TzXtJLp9","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-05-22T13:20:23.000Z"},"item":[{"name":"recipes","item":[{"name":"recipe Ingredient","item":[{"name":"find all ingredeint of a recipe","id":"2aa34d86-4629-4e26-96a5-d11c6440c4c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/recipe/:recipeid/ingredient","urlObject":{"path":["recipe",":recipeid","ingredient"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"description":{"content":"<p>recipe Id that you want detail on </p>\n","type":"text/plain"},"type":"any","value":"2","key":"recipeid"}]}},"response":[{"id":"19fc573c-d353-4903-bad7-afceb1dd5319","name":"find all ingredeint of a recipe","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:recipeid/ingredient","host":["http://localhost:8080/api"],"path":["recipe",":recipeid","ingredient"],"variable":[{"key":"recipeid","value":"2","description":"recipe Id that you want detail on "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"602"},{"key":"ETag","value":"W/\"25a-pUq2BH030fvaSezoUC8BkLt2vHY\""},{"key":"Date","value":"Thu, 20 May 2021 08:47:24 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"Ingredients\": [\n            {\n                \"id\": 1,\n                \"name\": \"testsqdqs\",\n                \"description\": \"azeetetst\",\n                \"imagePath\": \"/static/images/ingredient_images/testImage.jpg\",\n                \"createdAt\": \"2021-05-10T13:04:14.578Z\",\n                \"updatedAt\": \"2021-05-10T13:04:14.578Z\",\n                \"IngredientOriginId\": 1,\n                \"LanguageId\": 1,\n                \"SeasonId\": 1,\n                \"Recipe_Ingredient\": {\n                    \"quantity\": 10,\n                    \"UnitId\": 1\n                }\n            },\n            {\n                \"id\": 2,\n                \"name\": \"test\",\n                \"description\": \"azeetetst\",\n                \"imagePath\": \"/static/images/ingredient_images/testImage.jpg\",\n                \"createdAt\": \"2021-05-10T13:04:14.662Z\",\n                \"updatedAt\": \"2021-05-10T13:04:14.662Z\",\n                \"IngredientOriginId\": 2,\n                \"LanguageId\": 1,\n                \"SeasonId\": 3,\n                \"Recipe_Ingredient\": {\n                    \"quantity\": 3,\n                    \"UnitId\": 2\n                }\n            }\n        ]\n    }\n]"}],"_postman_id":"2aa34d86-4629-4e26-96a5-d11c6440c4c4"},{"name":"add ingredeint to a recipe","event":[{"listen":"test","script":{"id":"fb723904-77fb-45a4-a8fe-83becfa8b81b","exec":["pm.test(\"Response is valide\",function(){\r","    const resp= pm.response.toJSON()\r","    pm.expect(resp).to.be.an.instanceOf(Object)\r","    pm.expect(resp).to.haveOwnProperty\r","})\r","pm.test(\"Successful POST request\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([201, 202]);\r","});"],"type":"text/javascript"}}],"id":"dfbc11fd-c8de-4b59-9e66-bc3e6f269421","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ingredientId\": 1,\r\n    \"quantity\":10,\r\n    \"unitId\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/recipe/:id/ingredient","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","ingredient"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"}]}},"response":[{"id":"ad8bf42f-cb6c-485d-94f4-e5be51325409","name":"add ingredeint to a recipe","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ingredientId\": 1,\r\n    \"quantity\":10,\r\n    \"unitId\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe/:id/ingredient","host":["http://localhost:8080/api"],"path":["recipe",":id","ingredient"],"variable":[{"key":"id","value":"2"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"243"},{"key":"ETag","value":"W/\"f3-RYthddQaAHD+Ui33SktwW4i8PP4\""},{"key":"Date","value":"Thu, 20 May 2021 08:50:54 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"testsqdqs\",\n    \"description\": \"azeetetst\",\n    \"imagePath\": \"/static/images/ingredient_images/testImage.jpg\",\n    \"createdAt\": \"2021-05-10T13:04:14.578Z\",\n    \"updatedAt\": \"2021-05-10T13:04:14.578Z\",\n    \"IngredientOriginId\": 1,\n    \"LanguageId\": 1,\n    \"SeasonId\": 1\n}"}],"_postman_id":"dfbc11fd-c8de-4b59-9e66-bc3e6f269421"},{"name":"find one lngredeint of a recipe","id":"a5dc8842-49bd-4b4a-81c5-dd055967bb01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/recipe/:recipeid/ingredient/:ingredientId","urlObject":{"path":["recipe",":recipeid","ingredient",":ingredientId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"description":{"content":"<p>recipe Id that you want detail on </p>\n","type":"text/plain"},"type":"any","value":"2","key":"recipeid"},{"type":"any","value":"2","key":"ingredientId"}]}},"response":[{"id":"bd803d77-9761-4029-ba7b-40c92a14120f","name":"find one lngredeint of a recipe","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:recipeid/ingredient/:ingredientId","host":["http://localhost:8080/api"],"path":["recipe",":recipeid","ingredient",":ingredientId"],"variable":[{"key":"recipeid","value":"2","description":"recipe Id that you want detail on "},{"key":"ingredientId","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"311"},{"key":"ETag","value":"W/\"137-tD+dDMm3jHIBYdDLwKuoZkoTYFc\""},{"key":"Date","value":"Thu, 20 May 2021 08:47:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"Ingredients\": [\n            {\n                \"id\": 2,\n                \"name\": \"test\",\n                \"description\": \"azeetetst\",\n                \"imagePath\": \"/static/images/ingredient_images/testImage.jpg\",\n                \"createdAt\": \"2021-05-10T13:04:14.662Z\",\n                \"updatedAt\": \"2021-05-10T13:04:14.662Z\",\n                \"IngredientOriginId\": 2,\n                \"LanguageId\": 1,\n                \"SeasonId\": 3,\n                \"Recipe_Ingredient\": {\n                    \"quantity\": 3,\n                    \"UnitId\": 2\n                }\n            }\n        ]\n    }\n]"}],"_postman_id":"a5dc8842-49bd-4b4a-81c5-dd055967bb01"},{"name":"update ingredeint of a recipe Copy","event":[{"listen":"test","script":{"id":"bdcfe329-d062-4a9b-bec7-ec45096bf02d","exec":["pm.test(\"Response is valide\",function(){\r","    const resp= pm.response.toJSON()\r","    pm.expect(resp).to.be.an.instanceOf(Object)\r","    pm.expect(resp).to.haveOwnProperty\r","})\r","pm.test(\"Successful POST request\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([201, 202]);\r","});"],"type":"text/javascript"}}],"id":"8b597450-17e2-4148-8da3-be79abc1f901","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quantity\":10,\r\n    \"unitId\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/recipe/:id/ingredient/:ingredientId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","ingredient",":ingredientId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"},{"type":"any","value":"1","key":"ingredientId"}]}},"response":[{"id":"e3fcea41-7933-4198-80fc-b600e7d7ec9e","name":"update ingredeint of a recipe Copy","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quantity\":10,\r\n    \"unitId\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe/:id/ingredient/:ingredientId","host":["http://localhost:8080/api"],"path":["recipe",":id","ingredient",":ingredientId"],"variable":[{"key":"id","value":"2"},{"key":"ingredientId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"123"},{"key":"ETag","value":"W/\"7b-T4IgRS+ccFPk/YHBPddL4I6c3jY\""},{"key":"Date","value":"Thu, 20 May 2021 08:52:13 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"quantity\": 10,\n    \"createdAt\": \"2021-05-20T08:27:12.874Z\",\n    \"updatedAt\": \"2021-05-20T08:52:13.158Z\",\n    \"RecipeId\": 2,\n    \"IngredientId\": 1\n}"}],"_postman_id":"8b597450-17e2-4148-8da3-be79abc1f901"},{"name":"delete ingredeint of a recipe","event":[{"listen":"test","script":{"id":"3916de32-6f7b-4209-8814-8e14f3248b05","exec":["pm.test(\"Response is valide\",function(){\r","    const resp= pm.response.toJSON()\r","    pm.expect(resp).to.be.an.instanceOf(Object)\r","    pm.expect(resp).to.haveOwnProperty\r","})\r","pm.test(\"Successful POST request\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([201, 202]);\r","});"],"type":"text/javascript"}}],"id":"4195a0f8-6626-4b93-b839-4008c987b70f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/recipe/:id/ingredient/:ingredientId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","ingredient",":ingredientId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"},{"type":"any","value":"2","key":"ingredientId"}]}},"response":[{"id":"e435e032-e951-431e-b991-7b49b3c64d45","name":"delete ingredeint of a recipe","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe/:id/ingredient/:ingredientId","host":["http://localhost:8080/api"],"path":["recipe",":id","ingredient",":ingredientId"],"variable":[{"key":"id","value":"2"},{"key":"ingredientId","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Length","value":"2"},{"key":"ETag","value":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""},{"key":"Date","value":"Thu, 20 May 2021 08:53:05 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"OK"}],"_postman_id":"4195a0f8-6626-4b93-b839-4008c987b70f"}],"id":"a3911134-77a6-4593-bb5b-85c0d40fecf7","_postman_id":"a3911134-77a6-4593-bb5b-85c0d40fecf7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"recipe Images","item":[{"name":"find all images","id":"39c2211a-134a-4633-8b92-f915e5bcc7b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/recipe/:recipeId/image","urlObject":{"path":["recipe",":recipeId","image"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"recipeId"}]}},"response":[{"id":"50fb252e-3dae-466f-ae1e-ac7d253351ab","name":"find all images","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:recipeId/image","host":["http://localhost:8080/api"],"path":["recipe",":recipeId","image"],"variable":[{"key":"recipeId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"180"},{"key":"ETag","value":"W/\"b4-Yd+0o/PO9eTgZDzSN/SZ/CM+2IA\""},{"key":"Date","value":"Thu, 20 May 2021 09:54:36 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"imgpath\": \"./static/images/recipe_images/2/photomode_17122020_212841.png\",\n        \"RecipeId\": 2\n    },\n    {\n        \"id\": 15,\n        \"imgpath\": \"./static/images/recipe_images/2/Copacabana0.jpg\",\n        \"RecipeId\": 2\n    }\n]"}],"_postman_id":"39c2211a-134a-4633-8b92-f915e5bcc7b5"},{"name":"add image to a recipe","event":[{"listen":"test","script":{"id":"6726993a-0b0a-4d45-9e79-3a8248667abb","exec":["pm.test(\"Response is valide\",function(){\r","    const resp= pm.response.toJSON()\r","    pm.expect(resp).to.be.an.instanceOf(Object)\r","    pm.expect(resp).to.haveOwnProperty\r","})\r","pm.test(\"Successful POST request\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([201, 202]);\r","});"],"type":"text/javascript"}}],"id":"4b36238a-841a-46ac-bc45-50e3fb44cf64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>the file that will be added to the recipe</p>\n","type":"file","src":"/C:/Users/louis/OneDrive/Images/Google Earth VR/Copacabana0.jpg"}]},"url":"http://localhost:8080/api/recipe/:id/image","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","image"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"}]}},"response":[{"id":"1e58efd9-4a2c-4bc5-b067-0c11aca99d7f","name":"add image to a recipe 1","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"the file that will be added to the recipe","type":"file","src":"/C:/Users/louis/OneDrive/Images/Google Earth VR/Copacabana.jpg"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe/:id/image","host":["http://localhost:8080/api"],"path":["recipe",":id","image"],"variable":[{"key":"id","value":"1"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"161"},{"key":"ETag","value":"W/\"a1-haiKNh5qn9D2YfxQ92FWkq7Mw6c\""},{"key":"Date","value":"Wed, 19 May 2021 20:53:28 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 14,\n    \"imgpath\": \"./static/images/recipe_images/1/Copacabana.jpg\",\n    \"RecipeId\": \"1\",\n    \"updatedAt\": \"2021-05-19T20:53:28.718Z\",\n    \"createdAt\": \"2021-05-19T20:53:28.718Z\"\n}"}],"_postman_id":"4b36238a-841a-46ac-bc45-50e3fb44cf64"},{"name":"change image of a recipe","event":[{"listen":"test","script":{"id":"7cc778e6-f04b-4bea-91bf-83b736cda649","exec":["pm.test(\"Response is valide\",function(){\r","    const resp= pm.response.toJSON()\r","    pm.expect(resp).to.be.an.instanceOf(Object)\r","    pm.expect(resp).to.haveOwnProperty\r","})\r","pm.test(\"Successful POST request\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([201, 202]);\r","});"],"type":"text/javascript"}}],"id":"01eb0752-46bf-4916-81d4-c6d4451e078a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>the file that will be added to the recipe</p>\n","type":"file","src":"/C:/Users/louis/OneDrive/Images/Google Earth VR/Copacabana0.jpg"}]},"url":"http://localhost:8080/api/recipe/:id/image/:imageId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","image",":imageId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"},{"type":"any","value":"13","key":"imageId"}]}},"response":[{"id":"4c7f0df9-9eb2-4cc0-8851-b1264b1b812d","name":"change image of a recipe","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"the file that will be added to the recipe","type":"file","src":"/C:/Users/louis/OneDrive/Images/Google Earth VR/Copacabana0.jpg"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe/:id/image/:imageId","host":["http://localhost:8080/api"],"path":["recipe",":id","image",":imageId"],"variable":[{"key":"id","value":"2"},{"key":"imageId","value":"13"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"162"},{"key":"ETag","value":"W/\"a2-nt+/rUjNw8YMVpQooK4UTUBFK6s\""},{"key":"Date","value":"Thu, 20 May 2021 10:09:26 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 16,\n    \"imgpath\": \"./static/images/recipe_images/2/Copacabana0.jpg\",\n    \"RecipeId\": \"2\",\n    \"updatedAt\": \"2021-05-20T10:09:24.587Z\",\n    \"createdAt\": \"2021-05-20T10:09:24.587Z\"\n}"}],"_postman_id":"01eb0752-46bf-4916-81d4-c6d4451e078a"},{"name":"Delete a image of a recipe","event":[{"listen":"test","script":{"id":"f1ef06ce-f84a-4afd-8cc2-44546f0f1fc5","exec":["pm.test(\"Response is valide\",function(){\r","    const resp= pm.response.toJSON()\r","    pm.expect(resp).to.be.an.instanceOf(Object)\r","    pm.expect(resp).to.haveOwnProperty\r","})\r","pm.test(\"Successful POST request\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([201, 202]);\r","});"],"type":"text/javascript"}}],"id":"ad942f58-5025-4e92-abd2-582d25878c6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/recipe/:id/image/:imageId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","image",":imageId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"},{"type":"any","value":"15","key":"imageId"}]}},"response":[{"id":"88385f61-c17e-440c-80bc-1f85118693e0","name":"Delete a image of a recipe","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:id/image/:imageId","host":["http://localhost:8080/api"],"path":["recipe",":id","image",":imageId"],"variable":[{"key":"id","value":"2"},{"key":"imageId","value":"15"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"68"},{"key":"ETag","value":"W/\"44-CmP9pmngqdvT/clLDb42PhvHyMg\""},{"key":"Date","value":"Thu, 20 May 2021 10:26:54 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"the image of the recipe with the id 2 has been deleted\"\n}"}],"_postman_id":"ad942f58-5025-4e92-abd2-582d25878c6e"},{"name":"find a image","id":"af0b7546-8ec2-4664-924f-c4218d87860c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/recipe/:recipeId/image/:imageId","urlObject":{"path":["recipe",":recipeId","image",":imageId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"recipeId"},{"type":"any","value":"15","key":"imageId"}]}},"response":[{"id":"b0ef3d89-8e71-473e-ba92-0a9197c08b86","name":"find a image","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:recipeId/image/:imageId","host":["http://localhost:8080/api"],"path":["recipe",":recipeId","image",":imageId"],"variable":[{"key":"recipeId","value":"2"},{"key":"imageId","value":"15"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"82"},{"key":"ETag","value":"W/\"52-AT5mEmyq4KXl6FavqiLnFIU4fAY\""},{"key":"Date","value":"Thu, 20 May 2021 09:58:23 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15,\n    \"imgpath\": \"./static/images/recipe_images/2/Copacabana0.jpg\",\n    \"RecipeId\": 2\n}"}],"_postman_id":"af0b7546-8ec2-4664-924f-c4218d87860c"}],"id":"e57dd06b-227f-476e-b049-df25d97e7d14","_postman_id":"e57dd06b-227f-476e-b049-df25d97e7d14","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"comments","item":[{"name":"get all comments","id":"6dd2dffb-2d68-492c-ac78-86d0b1df4747","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/recipe/:id/comments","urlObject":{"path":["recipe",":id","comments"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"25cff146-07e1-4593-8860-fafec249efce","name":"get all comments","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:id/comments","host":["http://localhost:8080/api"],"path":["recipe",":id","comments"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"8303"},{"key":"ETag","value":"W/\"206f-ajqjRqR+yVPmVRVwL6rVvKSG1jo\""},{"key":"Date","value":"Tue, 25 May 2021 08:04:59 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"text\": \"Possimus temporibus recusandae et voluptatibus. Et voluptate consequatur. Nihil exercitationem sit vel numquam odit. Sed voluptates ut facere molestias illo id dicta aut et. Veritatis et dignissimos fuga et similique dolorem.\",\n        \"createdAt\": \"2021-05-24T19:25:33.048Z\",\n        \"updatedAt\": \"2021-05-24T19:25:33.048Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 3,\n        \"text\": \"Dolorum quo nostrum iste soluta enim. Autem necessitatibus nemo tempore saepe nam nobis quaerat qui exercitationem.\",\n        \"createdAt\": \"2021-05-24T19:25:33.956Z\",\n        \"updatedAt\": \"2021-05-24T19:25:33.956Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 4,\n        \"text\": \"Voluptatibus voluptas autem. Id occaecati ratione et. Quae ut velit quam fugiat vel qui rerum. Et incidunt dolorum expedita deleniti consequatur est. Ut sint qui est ipsa pariatur porro ipsam quibusdam quos. Voluptatem ab harum magni officiis error.\",\n        \"createdAt\": \"2021-05-24T19:25:35.059Z\",\n        \"updatedAt\": \"2021-05-24T19:25:35.059Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 5,\n        \"text\": \"Omnis explicabo voluptatem voluptatem et omnis atque quos autem fugit. Ducimus dolorem rerum qui. Commodi quia dolore.\",\n        \"createdAt\": \"2021-05-24T19:25:35.573Z\",\n        \"updatedAt\": \"2021-05-24T19:25:35.573Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 6,\n        \"text\": \"Adipisci alias rerum consectetur iure illo fugiat fugiat odit. Expedita doloribus tempore natus voluptatibus. Facere dicta reprehenderit fugiat. Voluptatem doloremque neque ut veritatis commodi. Minus exercitationem distinctio explicabo doloremque doloremque omnis quia sed et. Quo voluptatem iste aut aut veniam.\",\n        \"createdAt\": \"2021-05-24T19:25:36.215Z\",\n        \"updatedAt\": \"2021-05-24T19:25:36.215Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 7,\n        \"text\": \"Ipsam voluptatem error. Ut sapiente eos est iure nihil veniam mollitia dignissimos. Sed qui sit vitae odio nostrum ea. Odit ullam unde officia reprehenderit.\",\n        \"createdAt\": \"2021-05-24T19:25:36.873Z\",\n        \"updatedAt\": \"2021-05-24T19:25:36.873Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 8,\n        \"text\": \"Voluptatem tenetur consequuntur voluptatibus velit voluptate voluptatem quo doloribus ipsam. Assumenda quia cupiditate ad ut id quidem in. Nostrum animi voluptas. Vel animi est expedita esse amet. Occaecati animi ipsum sit aut consequatur qui nihil est. Dolores et necessitatibus voluptas sed et.\",\n        \"createdAt\": \"2021-05-24T19:25:37.641Z\",\n        \"updatedAt\": \"2021-05-24T19:25:37.641Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 9,\n        \"text\": \"Nemo dignissimos quos incidunt. Sunt ut eligendi non dolor explicabo perspiciatis dolore distinctio.\",\n        \"createdAt\": \"2021-05-24T19:25:38.461Z\",\n        \"updatedAt\": \"2021-05-24T19:25:38.461Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 10,\n        \"text\": \"Repellendus et et enim debitis eligendi natus eos. Nostrum ut est sit incidunt. Et et quia reprehenderit aut a earum. Soluta eveniet enim repellat deserunt rem enim illum occaecati ipsa.\",\n        \"createdAt\": \"2021-05-24T19:25:39.281Z\",\n        \"updatedAt\": \"2021-05-24T19:25:39.281Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 11,\n        \"text\": \"Assumenda sed nobis enim in dolorem autem. Cupiditate repudiandae ratione officia enim quo recusandae incidunt delectus ex. Veniam repellendus corporis beatae velit debitis debitis nisi.\",\n        \"createdAt\": \"2021-05-24T19:25:39.780Z\",\n        \"updatedAt\": \"2021-05-24T19:25:39.780Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 12,\n        \"text\": \"Repellat cum sit nesciunt reiciendis modi necessitatibus pariatur. Et perferendis quasi rem delectus. Soluta enim quia similique laudantium. Vel veniam tenetur aut alias aut. Ducimus cumque asperiores excepturi dolorem consequatur. Quia et et.\",\n        \"createdAt\": \"2021-05-24T19:25:40.243Z\",\n        \"updatedAt\": \"2021-05-24T19:25:40.243Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 13,\n        \"text\": \"Eum tempora quas eum pariatur sint est sunt eius. Ut omnis accusantium rerum placeat repellat maxime. Qui aut et et deserunt sed voluptates. Qui distinctio ad nobis ipsa fugiat iste laboriosam aut sed. Rerum ipsa sit aliquam delectus sunt sunt.\",\n        \"createdAt\": \"2021-05-24T19:25:40.737Z\",\n        \"updatedAt\": \"2021-05-24T19:25:40.737Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 14,\n        \"text\": \"Sequi quisquam qui iusto dolorem dolorem praesentium sit corporis. Expedita aut et. Rerum minima minima voluptatibus dignissimos omnis beatae rem provident sunt. Sed praesentium doloremque eligendi qui quo. Quasi et harum molestiae amet debitis. Officia omnis autem sit beatae quam.\",\n        \"createdAt\": \"2021-05-24T19:25:41.127Z\",\n        \"updatedAt\": \"2021-05-24T19:25:41.127Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": [\n            {\n                \"id\": 19\n            },\n            {\n                \"id\": 20\n            },\n            {\n                \"id\": 21\n            },\n            {\n                \"id\": 22\n            }\n        ]\n    },\n    {\n        \"id\": 16,\n        \"text\": \"Tempore quae minus nam omnis accusantium cupiditate. Est consectetur voluptatibus cum sit eius est quasi nemo velit. Sed eius dolorum. Illo quibusdam totam dolores.\",\n        \"createdAt\": \"2021-05-24T19:30:33.764Z\",\n        \"updatedAt\": \"2021-05-24T19:30:33.764Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 17,\n        \"text\": \"Suscipit est at reprehenderit aperiam inventore laborum occaecati. Dolore dolorem id odio sed non minima. Eligendi sunt fugit qui sapiente voluptatem assumenda maiores quasi nemo.\",\n        \"createdAt\": \"2021-05-24T19:31:02.090Z\",\n        \"updatedAt\": \"2021-05-24T19:31:02.090Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 18,\n        \"text\": \"Aliquam minima cupiditate ullam voluptatem et rerum ex. Cumque in doloribus veritatis ea magni aliquid qui. Aut deserunt laboriosam. Architecto eum neque et laboriosam animi et placeat aut. Aliquam consequatur repellat explicabo dolorum perspiciatis at qui quam.\",\n        \"createdAt\": \"2021-05-24T19:31:21.190Z\",\n        \"updatedAt\": \"2021-05-24T19:31:21.190Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [],\n        \"answer\": []\n    },\n    {\n        \"id\": 19,\n        \"text\": \"Accusamus reiciendis saepe. Perspiciatis earum blanditiis impedit non. Similique consequuntur sint rerum cum amet voluptatibus. Neque pariatur necessitatibus consequatur eum ex ratione quae at. Excepturi reprehenderit rerum quia debitis cum eos. Quo rerum in sed illum ex veniam beatae.\",\n        \"createdAt\": \"2021-05-24T19:31:40.971Z\",\n        \"updatedAt\": \"2021-05-24T19:31:40.971Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [\n            {\n                \"id\": 14\n            }\n        ],\n        \"answer\": []\n    },\n    {\n        \"id\": 20,\n        \"text\": \"Asperiores porro aut et eum cum culpa vel in corporis. Libero voluptas in autem aut dolorum.\",\n        \"createdAt\": \"2021-05-24T19:31:41.920Z\",\n        \"updatedAt\": \"2021-05-24T19:31:41.920Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [\n            {\n                \"id\": 14\n            }\n        ],\n        \"answer\": []\n    },\n    {\n        \"id\": 21,\n        \"text\": \"In voluptatem distinctio ut veniam. Optio nihil minima eius. Eos assumenda voluptas eligendi aperiam dolorem corrupti. Doloremque nisi nulla eos autem non molestiae. Temporibus voluptatem tempora nesciunt veniam similique. Officiis ut qui tempora similique.\",\n        \"createdAt\": \"2021-05-24T19:31:42.628Z\",\n        \"updatedAt\": \"2021-05-24T19:31:42.628Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [\n            {\n                \"id\": 14\n            }\n        ],\n        \"answer\": []\n    },\n    {\n        \"id\": 22,\n        \"text\": \"Commodi ratione ut ut sunt harum repellendus. In provident nobis temporibus dolor.\",\n        \"createdAt\": \"2021-05-24T19:31:43.596Z\",\n        \"updatedAt\": \"2021-05-24T19:31:43.596Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [\n            {\n                \"id\": 14\n            }\n        ],\n        \"answer\": [\n            {\n                \"id\": 23\n            }\n        ]\n    },\n    {\n        \"id\": 23,\n        \"text\": \"Omnis ducimus pariatur. Qui est architecto voluptas itaque. Nemo qui id neque quia ut hic dolorum sunt. Molestias ut a eaque eaque quia unde vitae id. Consequatur labore ut deleniti doloremque. Repellat optio iure ut.\",\n        \"createdAt\": \"2021-05-24T19:31:51.707Z\",\n        \"updatedAt\": \"2021-05-24T19:31:51.707Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [\n            {\n                \"id\": 22\n            }\n        ],\n        \"answer\": [\n            {\n                \"id\": 24\n            }\n        ]\n    },\n    {\n        \"id\": 24,\n        \"text\": \"Debitis dicta illum ducimus sed. Deleniti dignissimos dolores. Maiores asperiores atque sequi ex. Molestias eligendi accusamus et nihil libero modi. Sint magnam quo esse id accusamus eos provident consequatur et. Qui voluptatibus quam dolorem quod suscipit alias et.\",\n        \"createdAt\": \"2021-05-24T19:31:57.340Z\",\n        \"updatedAt\": \"2021-05-24T19:31:57.340Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [\n            {\n                \"id\": 23\n            }\n        ],\n        \"answer\": [\n            {\n                \"id\": 25\n            }\n        ]\n    },\n    {\n        \"id\": 25,\n        \"text\": \"Adipisci non omnis ipsa. Voluptas culpa temporibus expedita eaque. Mollitia voluptatum non et eligendi officiis molestiae ut. Non aut quia illo corrupti earum ut. Incidunt laudantium asperiores est velit vel. Velit ut sequi velit quia.\",\n        \"createdAt\": \"2021-05-24T19:32:05.264Z\",\n        \"updatedAt\": \"2021-05-24T19:32:05.264Z\",\n        \"UserId\": 1,\n        \"RecipeId\": 1,\n        \"answering\": [\n            {\n                \"id\": 24\n            }\n        ],\n        \"answer\": []\n    }\n]"}],"_postman_id":"6dd2dffb-2d68-492c-ac78-86d0b1df4747"},{"name":"add comment","id":"7310598a-c5c3-4d58-8e13-f4318ea1aeb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"comtext\":\"Sunt sunt autem aut labore quia facilis magnam cupiditate in. Distinctio rerum nesciunt omnis cumque deleniti. Maiores placeat rerum architecto et consequuntur repudiandae ea. Occaecati sed dolor maiores non repellendus eum dolor.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/recipe/:id/comments","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","comments"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"12cb6c1f-39de-424a-aae1-da98bb7e04d0","name":"add comment","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"comtext\":\"Debitis minus rerum earum. Quod placeat dolorem adipisci possimus possimus soluta ut ab et. Quas consequatur doloribus est. Quia quidem quae quaerat qui quasi voluptatibus. Qui labore natus et consectetur.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe/:id/comments","host":["http://localhost:8080/api"],"path":["recipe",":id","comments"],"variable":[{"key":"id","value":"1"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"403"},{"key":"ETag","value":"W/\"193-aMOWVaTt94pvVfasFJRmHrdCeQw\""},{"key":"Date","value":"Mon, 24 May 2021 19:25:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 14,\n    \"text\": \"Sequi quisquam qui iusto dolorem dolorem praesentium sit corporis. Expedita aut et. Rerum minima minima voluptatibus dignissimos omnis beatae rem provident sunt. Sed praesentium doloremque eligendi qui quo. Quasi et harum molestiae amet debitis. Officia omnis autem sit beatae quam.\",\n    \"RecipeId\": 1,\n    \"UserId\": 1,\n    \"updatedAt\": \"2021-05-24T19:25:41.127Z\",\n    \"createdAt\": \"2021-05-24T19:25:41.127Z\"\n}"}],"_postman_id":"7310598a-c5c3-4d58-8e13-f4318ea1aeb8"},{"name":"get one comment","id":"57b5a70b-4f32-4886-8f29-b6392d6f7b37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/recipe/:id/comments/:idCom","urlObject":{"path":["recipe",":id","comments",":idCom"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"},{"type":"any","value":"10","key":"idCom"}]}},"response":[{"id":"7959b209-76ac-4cb2-8774-d8cf4365e3c6","name":"get one comment","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:id/comments/:idCom","host":["http://localhost:8080/api"],"path":["recipe",":id","comments",":idCom"],"variable":[{"key":"id","value":"1"},{"key":"idCom","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"307"},{"key":"ETag","value":"W/\"133-lrBdUH+LVBFKOVF8ZGQMmUobw1Y\""},{"key":"Date","value":"Mon, 24 May 2021 19:32:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"text\": \"Repellendus et et enim debitis eligendi natus eos. Nostrum ut est sit incidunt. Et et quia reprehenderit aut a earum. Soluta eveniet enim repellat deserunt rem enim illum occaecati ipsa.\",\n    \"createdAt\": \"2021-05-24T19:25:39.281Z\",\n    \"updatedAt\": \"2021-05-24T19:25:39.281Z\",\n    \"UserId\": 1,\n    \"RecipeId\": 1\n}"}],"_postman_id":"57b5a70b-4f32-4886-8f29-b6392d6f7b37"},{"name":"update one comment","id":"10a68df7-a17d-42f8-b61a-f9593bc6f301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"comtext\":\"Sunt nostrum debitis veniam reiciendis quam perspiciatis odio voluptatem. Consequatur pariatur et aut saepe consequatur tempore libero possimus. Provident quidem quae qui est ullam autem. Quis autem quibusdam fuga dolores.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/recipe/:id/comments/:idCom","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","comments",":idCom"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"},{"type":"any","value":"1","key":"idCom"}]}},"response":[{"id":"27d3d6af-8b98-4066-8120-5530fa56cb9b","name":"update one comment","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"comtext\":\"Fugiat debitis tempore aspernatur ex ex atque harum modi quasi. Sed quis pariatur delectus harum itaque minus sit delectus. Sit tempora est nisi blanditiis blanditiis et nihil molestias iste. Alias assumenda porro. Rerum et aut non in quibusdam consequatur voluptatem animi aut.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe/:id/comments/:idCom","host":["http://localhost:8080/api"],"path":["recipe",":id","comments",":idCom"],"variable":[{"key":"id","value":"1"},{"key":"idCom","value":"1"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"314"},{"key":"ETag","value":"W/\"13a-/QvCbEJWLE5vZoCfXsmaiMVgD/Q\""},{"key":"Date","value":"Mon, 24 May 2021 19:16:59 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"text\": \"Quis et enim sed saepe cumque. A nihil neque amet. Omnis voluptatem pariatur debitis explicabo sapiente laudantium et. Molestias eum eveniet quisquam maxime. Dolor sequi perferendis qui aliquam.\",\n    \"createdAt\": \"2021-05-24T19:16:37.093Z\",\n    \"updatedAt\": \"2021-05-24T19:16:58.088Z\",\n    \"UserId\": 1,\n    \"RecipeId\": 1\n}"}],"_postman_id":"10a68df7-a17d-42f8-b61a-f9593bc6f301"},{"name":"delete one comment","id":"761b8593-ffb5-4a61-bd31-31ac9838e880","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/recipe/:id/comments/:idCom","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","comments",":idCom"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"},{"type":"any","value":"1","key":"idCom"}]}},"response":[{"id":"e1f41ea5-4de1-4f92-8036-6ce0ba610b74","name":"delete one comment","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:id/comments/:idCom","host":["http://localhost:8080/api"],"path":["recipe",":id","comments",":idCom"],"variable":[{"key":"id","value":"1"},{"key":"idCom","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"261"},{"key":"ETag","value":"W/\"105-Kh7PZ8pYpHyJeBeso883ttA4Eik\""},{"key":"Date","value":"Mon, 24 May 2021 19:54:29 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"text\": \"Deleniti ut consequatur pariatur eos ut excepturi. Qui impedit aut rerum. Aut libero sit rerum enim explicabo quos velit pariatur doloremque.\",\n    \"createdAt\": \"2021-05-24T19:25:21.917Z\",\n    \"updatedAt\": \"2021-05-24T19:25:21.917Z\",\n    \"UserId\": 1,\n    \"RecipeId\": 1\n}"}],"_postman_id":"761b8593-ffb5-4a61-bd31-31ac9838e880"},{"name":"add answer","id":"b5743cea-79ce-4507-aac9-4ce2f829b754","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"comtext\":\"Ullam et quod cupiditate ut aut aliquid consectetur rerum. Eos blanditiis autem. Harum qui blanditiis nobis tenetur numquam sed minima vel praesentium. Magnam perferendis placeat iusto et odio dolore nisi fuga reiciendis.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/recipe//:id/comments/:idCom/response","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe","",":id","comments",":idCom","response"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"},{"type":"any","value":"24","key":"idCom"}]}},"response":[{"id":"c0f7a83b-51aa-4037-a0ac-973eedc59d5d","name":"add answer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"comtext\":\"Omnis occaecati consectetur recusandae similique libero dolor veritatis quidem explicabo. Sed consequuntur est nobis autem est.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe//:id/comments/:idCom/response","host":["http://localhost:8080/api"],"path":["recipe","",":id","comments",":idCom","response"],"variable":[{"key":"id","value":"1"},{"key":"idCom","value":"24"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"298"},{"key":"ETag","value":"W/\"12a-ElwRUSII+qBpB9sKiDyDEN6l4tw\""},{"key":"Date","value":"Tue, 25 May 2021 08:09:07 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 26,\n    \"text\": \"Laudantium aperiam molestiae in amet error et reiciendis perferendis repudiandae. Illo unde dolorum. Provident enim repudiandae quisquam saepe aut accusantium expedita nesciunt.\",\n    \"RecipeId\": 1,\n    \"UserId\": 1,\n    \"updatedAt\": \"2021-05-25T08:09:07.385Z\",\n    \"createdAt\": \"2021-05-25T08:09:07.385Z\"\n}"}],"_postman_id":"b5743cea-79ce-4507-aac9-4ce2f829b754"},{"name":"remove answer","id":"04ba2a99-e973-4578-8bb0-1fd19d9b9b99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/recipe/:id/comments/:idCom/response/:idResp","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":id","comments",":idCom","response",":idResp"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"},{"type":"any","value":"1","key":"idCom"},{"type":"any","value":"15","key":"idResp"}]}},"response":[{"id":"15416e1b-ab44-4acd-96b6-e1e8b8185bed","name":"remove answer","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:id/comments/:idCom/response/:idResp","host":["http://localhost:8080/api"],"path":["recipe",":id","comments",":idCom","response",":idResp"],"variable":[{"key":"id","value":"1"},{"key":"idCom","value":"1"},{"key":"idResp","value":"15"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"ETag","value":"W/\"13c-KsMWyHtJN/m/sBB//LgN77CnJxI\""},{"key":"Date","value":"Mon, 24 May 2021 19:56:55 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"04ba2a99-e973-4578-8bb0-1fd19d9b9b99"}],"id":"672409e7-1857-4794-9734-b3d7e33b0706","_postman_id":"672409e7-1857-4794-9734-b3d7e33b0706","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"get all recipe","id":"dffb6c42-9e68-48ca-b1e5-d29add7f26af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/recipe","description":"<p>Retrieve all the recipies</p>\n","urlObject":{"path":["recipe"],"host":["http://localhost:8080/api"],"query":[{"disabled":true,"description":{"content":"<p>filter by seasons (optional)</p>\n","type":"text/plain"},"key":"seasonId","value":"1"},{"disabled":true,"description":{"content":"<p>filter recipe by language (optional)</p>\n","type":"text/plain"},"key":"languageId","value":"1"},{"disabled":true,"description":{"content":"<p>Column used for ordering the results (optional)</p>\n","type":"text/plain"},"key":"orderColumn","value":"imageNumber"},{"disabled":true,"description":{"content":"<p>can be 'DESC' or 'ASC' (optional)</p>\n","type":"text/plain"},"key":"orderDirection","value":"ASC"},{"disabled":true,"description":{"content":"<p>limit has to be between 1 and 20 default 20</p>\n","type":"text/plain"},"key":"limit","value":""},{"disabled":true,"description":{"content":"<p>offset for pagination</p>\n","type":"text/plain"},"key":"offset","value":""}],"variable":[]}},"response":[{"id":"d90a1f10-9840-463d-a217-8fd537b9c6fa","name":"get all recipe","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/recipe","host":["http://localhost:8080/api"],"path":["recipe"],"query":[{"key":"seasonId","value":"1","description":"filter by seasons (optional)","disabled":true},{"key":"languageId","value":"1","description":"filter recipe by language (optional)","disabled":true},{"key":"orderColumn","value":"imageNumber","description":"Column used for ordering the results (optional)","disabled":true},{"key":"orderDirection","value":"ASC","description":"can be 'DESC' or 'ASC' (optional)","disabled":true},{"key":"limit","value":"","description":"limit has to be between 1 and 20 default 20","type":"text","disabled":true},{"key":"offset","value":"","description":"offset for pagination","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3489"},{"key":"ETag","value":"W/\"da1-yn2Ny9NNTDnwQf4hwkO3Mqk2FTE\""},{"key":"Date","value":"Wed, 26 May 2021 09:54:46 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Belgium\",\n        \"description\": \"Maryland Chief Streamlined compressing FTP\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 486,\n        \"cookingTime\": 564,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Falls\",\n        \"description\": \"Bahraini Avon open-source Identity optimize\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 815,\n        \"cookingTime\": 357,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 3,\n        \"name\": \"mindshare\",\n        \"description\": \"benchmark interface Kenyan back-end success\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 31,\n        \"cookingTime\": 172,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 4,\n        \"name\": \"database\",\n        \"description\": \"orange Practical Sleek Wooden Tools\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 594,\n        \"cookingTime\": 119,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 5,\n        \"name\": \"driver\",\n        \"description\": \"Dinar Soft RAM Nebraska\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 245,\n        \"cookingTime\": 980,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 6,\n        \"name\": \"withdrawal\",\n        \"description\": \"Stream Technician Metal\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 625,\n        \"cookingTime\": 696,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 7,\n        \"name\": \"Wooden\",\n        \"description\": \"Sleek Engineer Games\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 733,\n        \"cookingTime\": 694,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 8,\n        \"name\": \"Salad\",\n        \"description\": \"Concrete Wooden\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 879,\n        \"cookingTime\": 109,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 9,\n        \"name\": \"microchip\",\n        \"description\": \"Granite quantify open-source\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 866,\n        \"cookingTime\": 17,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 10,\n        \"name\": \"Loan\",\n        \"description\": \"transmitting partnerships\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 419,\n        \"cookingTime\": 807,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 11,\n        \"name\": \"Fully-configurable\",\n        \"description\": \"deposit Books Borders\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 911,\n        \"cookingTime\": 814,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 12,\n        \"name\": \"Infrastructure\",\n        \"description\": \"copying mobile Shoes\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 337,\n        \"cookingTime\": 744,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 13,\n        \"name\": \"virtual\",\n        \"description\": \"Bridge Loan\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 308,\n        \"cookingTime\": 927,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 14,\n        \"name\": \"Garden\",\n        \"description\": \"Investor rich Refined\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 939,\n        \"cookingTime\": 687,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 15,\n        \"name\": \"navigate\",\n        \"description\": \"Switchable Cambridgeshire matrix Soft Cambridgeshire\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 528,\n        \"cookingTime\": 22,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 16,\n        \"name\": \"AGP\",\n        \"description\": \"District incentivize Run\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 940,\n        \"cookingTime\": 183,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 17,\n        \"name\": \"olive\",\n        \"description\": \"impactful Pa'anga 24/7 grey Martinique\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 356,\n        \"cookingTime\": 228,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 18,\n        \"name\": \"executive\",\n        \"description\": \"synthesizing indexing Future Dakota Licensed\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 130,\n        \"cookingTime\": 452,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 19,\n        \"name\": \"administration\",\n        \"description\": \"e-markets violet\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 291,\n        \"cookingTime\": 107,\n        \"Recipe_Images\": []\n    },\n    {\n        \"id\": 20,\n        \"name\": \"Architect\",\n        \"description\": \"Legacy content Handcrafted Account\",\n        \"imageNumber\": 0,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1,\n        \"timeToPrepare\": 925,\n        \"cookingTime\": 772,\n        \"Recipe_Images\": []\n    }\n]"}],"_postman_id":"dffb6c42-9e68-48ca-b1e5-d29add7f26af"},{"name":"get one recipe","id":"6440cd12-e83b-4643-9ebf-54af42047e74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/recipe/:recipeid","urlObject":{"path":["recipe",":recipeid"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"description":{"content":"<p>recipe Id that you want detail on </p>\n","type":"text/plain"},"type":"any","value":"2","key":"recipeid"}]}},"response":[{"id":"0dae3ee6-f39a-4def-b034-ea192139784a","name":"get one recipe","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/recipe/:recipeid","host":["http://localhost:8080/api"],"path":["recipe",":recipeid"],"variable":[{"key":"recipeid","value":"2","description":"recipe Id that you want detail on "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1341"},{"key":"ETag","value":"W/\"53d-+BHF6EHu/Q+4ttqxQMg/OZOJRnU\""},{"key":"Date","value":"Thu, 20 May 2021 08:59:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"qsdqsd\",\n    \"description\": \"qsdqsd\",\n    \"imageNumber\": 1,\n    \"unfolding\": \"pankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipanikingpankipaniking\",\n    \"timeToPrepare\": 4,\n    \"cookingTime\": 4,\n    \"createdAt\": \"2021-05-14T11:44:43.477Z\",\n    \"updatedAt\": \"2021-05-20T08:26:21.201Z\",\n    \"LanguageId\": 2,\n    \"SeasonId\": 2,\n    \"Ingredients\": [\n        {\n            \"id\": 1,\n            \"name\": \"testsqdqs\",\n            \"description\": \"azeetetst\",\n            \"imagePath\": \"/static/images/ingredient_images/testImage.jpg\",\n            \"createdAt\": \"2021-05-10T13:04:14.578Z\",\n            \"updatedAt\": \"2021-05-10T13:04:14.578Z\",\n            \"IngredientOriginId\": 1,\n            \"LanguageId\": 1,\n            \"SeasonId\": 1,\n            \"Recipe_Ingredient\": {\n                \"quantity\": 10,\n                \"createdAt\": \"2021-05-20T08:27:12.874Z\",\n                \"updatedAt\": \"2021-05-20T08:52:13.158Z\",\n                \"RecipeId\": 2,\n                \"IngredientId\": 1,\n                \"UnitId\": 1\n            }\n        }\n    ],\n    \"Recipe_Images\": [\n        {\n            \"id\": 3,\n            \"imgpath\": \"./static/images/recipe_images/2/photomode_17122020_212841.png\",\n            \"caption\": null,\n            \"createdAt\": \"2021-05-14T11:44:43.646Z\",\n            \"updatedAt\": \"2021-05-14T11:44:43.646Z\",\n            \"RecipeId\": 2\n        },\n        {\n            \"id\": 15,\n            \"imgpath\": \"./static/images/recipe_images/2/Copacabana0.jpg\",\n            \"caption\": null,\n            \"createdAt\": \"2021-05-20T08:26:20.443Z\",\n            \"updatedAt\": \"2021-05-20T08:26:20.443Z\",\n            \"RecipeId\": 2\n        }\n    ]\n}"}],"_postman_id":"6440cd12-e83b-4643-9ebf-54af42047e74"},{"name":"create a recipe","id":"eca2377a-a892-4019-aa48-eee684a77362","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"recipe_name","value":"eyeballs","description":"<p>Name of the Recipe</p>\n","type":"text"},{"key":"recipe_description","value":"installation Bedfordshire transition Personal back-end","description":"<p>Small description of the recipe </p>\n","type":"text"},{"key":"recipe_language","value":"1","description":"<p>LanguageId of the recipe</p>\n","type":"text"},{"key":"recipe_season","value":"1","description":"<p>Best seasonId to cook the recipe in </p>\n","type":"text"},{"key":"recipe_unfloding","value":"feed Soap Corner reboot","description":"<p>The recipe in it self</p>\n","type":"text"},{"key":"recipe_timeToPrepare","value":"331","description":"<p>The time to prepare the dish</p>\n","type":"text"},{"key":"recipe_cookingTime","value":"358","description":"<p>The time to cook the dish</p>\n","type":"text"}]},"url":"http://localhost:8080/api/recipe","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"aeb3255f-eeab-49c2-829e-17ce4d21b96e","name":"create a recipe","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"recipe_name","value":"exuding","description":"Name of the Recipe","type":"text"},{"key":"recipe_description","value":"Soft Switzerland withdrawal Practical CSS","description":"Small description of the recipe ","type":"text"},{"key":"recipe_language","value":"1","description":"LanguageId of the recipe","type":"text"},{"key":"recipe_season","value":"1","description":"Best seasonId to cook the recipe in ","type":"text"},{"key":"recipe_unfloding","value":"Strategist implement National Refined","description":"The recipe in it self","type":"text"},{"key":"recipe_timeToPrepare","value":"746","description":"The time to prepare the dish","type":"text"},{"key":"recipe_cookingTime","value":"655","description":"The time to cook the dish","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/recipe"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"285"},{"key":"ETag","value":"W/\"11d-fctyFthxQiU2l48JrYqHUDgNiKg\""},{"key":"Date","value":"Thu, 20 May 2021 09:00:07 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"imageNumber\": 0,\n    \"id\": 13,\n    \"name\": \"FTP\",\n    \"description\": \"Fantastic payment Gloves fault-tolerant\",\n    \"LanguageId\": \"1\",\n    \"SeasonId\": \"1\",\n    \"unfolding\": \"Wooden View Cambridgeshire\",\n    \"timeToPrepare\": \"96\",\n    \"cookingTime\": \"37\",\n    \"updatedAt\": \"2021-05-20T09:00:07.585Z\",\n    \"createdAt\": \"2021-05-20T09:00:07.585Z\"\n}"}],"_postman_id":"eca2377a-a892-4019-aa48-eee684a77362"},{"name":"update a recipe","event":[{"listen":"prerequest","script":{"id":"d37083f3-7e88-4850-9ed3-a6a1a2f22769","exec":[""],"type":"text/javascript"}}],"id":"bcd86751-9aa6-4986-817e-cad459793d72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"recipe_name","value":"Michigan","description":"<p>Name of the Recipe</p>\n","type":"text"},{"key":"recipe_description","value":"Rustic networks Metal optimize","description":"<p>Small description of the recipe </p>\n","type":"text"},{"key":"recipe_language","value":"1","description":"<p>LanguageId of the recipe</p>\n","type":"text"},{"key":"recipe_season","value":"1","description":"<p>Best seasonId to cook the recipe in </p>\n","type":"text"},{"key":"recipe_unfloding","value":"turquoise Peso","description":"<p>The recipe in it self</p>\n","type":"text"},{"key":"recipe_timeToPrepare","value":"99","description":"<p>The time to prepare the dish</p>\n","type":"text"},{"key":"recipe_cookingTime","value":"280","description":"<p>The time to cook the dish</p>\n","type":"text"}]},"url":"http://localhost:8080/api/recipe/:recipeid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":recipeid"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"recipeid"}]}},"response":[{"id":"90ccb312-f240-44c3-b0dc-38281aef7aa7","name":"update a recipe","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"recipe_name","value":"Practical","description":"Name of the Recipe","type":"text"},{"key":"recipe_description","value":"Concrete Berkshire Korean applications Saint","description":"Small description of the recipe ","type":"text"},{"key":"recipe_language","value":"1","description":"LanguageId of the recipe","type":"text"},{"key":"recipe_season","value":"1","description":"Best seasonId to cook the recipe in ","type":"text"},{"key":"recipe_unfloding","value":"withdrawal Cambridgeshire Honduras","description":"The recipe in it self","type":"text"},{"key":"recipe_timeToPrepare","value":"756","description":"The time to prepare the dish","type":"text"},{"key":"recipe_cookingTime","value":"666","description":"The time to cook the dish","type":"text"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/recipe/:recipeid","host":["http://localhost:8080/api"],"path":["recipe",":recipeid"],"variable":[{"key":"recipeid","value":"2"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"281"},{"key":"ETag","value":"W/\"119-LMFTZQI8qnpFE+47GycUh19mqL0\""},{"key":"Date","value":"Thu, 20 May 2021 09:00:32 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"Northern\",\n    \"description\": \"synergies card payment brand port\",\n    \"imageNumber\": 1,\n    \"unfolding\": \"Future Awesome Refined\",\n    \"timeToPrepare\": \"195\",\n    \"cookingTime\": \"581\",\n    \"createdAt\": \"2021-05-14T11:44:43.477Z\",\n    \"updatedAt\": \"2021-05-20T09:00:32.431Z\",\n    \"LanguageId\": \"1\",\n    \"SeasonId\": \"1\"\n}"}],"_postman_id":"bcd86751-9aa6-4986-817e-cad459793d72"},{"name":"deleta a recipe","id":"ebf2f8cd-58fc-48b0-8c09-b191698fca70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/recipe/:recipeid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["recipe",":recipeid"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"13","key":"recipeid"}]}},"response":[],"_postman_id":"ebf2f8cd-58fc-48b0-8c09-b191698fca70"}],"id":"027b23f6-bf84-40d6-af4b-4fe337dc051f","_postman_id":"027b23f6-bf84-40d6-af4b-4fe337dc051f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"ingredients","item":[{"name":"get all ingredients","id":"faf1faa2-485d-445c-b935-2992a4797011","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/ingredient?orderColumn=name&orderDirection=ASC&limit=1&offset=1","urlObject":{"path":["ingredient"],"host":["http://localhost:8080/api"],"query":[{"disabled":true,"description":{"content":"<p>filter by seasons (optional)</p>\n","type":"text/plain"},"key":"seasonId","value":""},{"disabled":true,"description":{"content":"<p>filter recipe by language (optional)</p>\n","type":"text/plain"},"key":"languageId","value":"1"},{"description":{"content":"<p>Column used for ordering the results (optional)</p>\n","type":"text/plain"},"key":"orderColumn","value":"name"},{"description":{"content":"<p>can be 'DESC' or 'ASC' (optional)</p>\n","type":"text/plain"},"key":"orderDirection","value":"ASC"},{"description":{"content":"<p>limit has to be between 1 and 20 default 20</p>\n","type":"text/plain"},"key":"limit","value":"1"},{"description":{"content":"<p>offset for pagination</p>\n","type":"text/plain"},"key":"offset","value":"1"}],"variable":[]}},"response":[{"id":"7e63f62a-23ed-45c0-b939-0ab787e2be2e","name":"get all ingredients","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/ingredient?languageId=1&orderColumn=name&orderDirection=ASC","host":["http://localhost:8080/api"],"path":["ingredient"],"query":[{"key":"seasonId","value":"","description":"filter by seasons (optional)","disabled":true},{"key":"languageId","value":"1","description":"filter recipe by language (optional)"},{"key":"orderColumn","value":"name","description":"Column used for ordering the results (optional)"},{"key":"orderDirection","value":"ASC","description":"can be 'DESC' or 'ASC' (optional)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"ETag","value":"W/\"148-qBTNwh2Tdz9BRD/6w0IWNSQGnoE\""},{"key":"Date","value":"Thu, 20 May 2021 12:12:56 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"name\": \"test\",\n        \"description\": \"azeetetst\",\n        \"imagePath\": \"/static/images/ingredient_images/testImage.jpg\",\n        \"IngredientOriginId\": 2,\n        \"LanguageId\": 1,\n        \"SeasonId\": 3\n    },\n    {\n        \"id\": 1,\n        \"name\": \"testsqdqs\",\n        \"description\": \"azeetetst\",\n        \"imagePath\": \"/static/images/ingredient_images/testImage.jpg\",\n        \"IngredientOriginId\": 1,\n        \"LanguageId\": 1,\n        \"SeasonId\": 1\n    }\n]"}],"_postman_id":"faf1faa2-485d-445c-b935-2992a4797011"},{"name":"create an ingredient","id":"cf4d4ec3-3b43-40b1-9562-09b32e759c7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"ingre_name","value":"Beauty","type":"text"},{"key":"ingre_description","value":"interfaces Wall calculating Ball Versatile","type":"text"},{"key":"ingre_lang","value":"1","type":"text"},{"key":"ingre_season","value":"3","type":"text"},{"key":"ingre_origin","value":"1","type":"text"},{"key":"ingre_image","type":"file","src":"/C:/Users/louis/OneDrive/Images/Cyberpunk 2077/photomode_19122020_180020.png"}]},"url":"http://localhost:8080/api/ingredient","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"e64f1df6-0db7-478c-8a72-fdad7f31d31b","name":"create an ingredient","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"ingre_name","value":"Avon","type":"text"},{"key":"ingre_description","value":"Cheese Synchronised Account Mexico Intelligent","type":"text"},{"key":"ingre_lang","value":"1","type":"text"},{"key":"ingre_season","value":"3","type":"text"},{"key":"ingre_origin","value":"1","type":"text"},{"key":"ingre_image","type":"file","src":"/C:/Users/louis/OneDrive/Images/Cyberpunk 2077/photomode_19122020_180020.png"}],"options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/ingredient"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"306"},{"key":"ETag","value":"W/\"132-xsqL33esKtxU4YPcYHckKaD+6Og\""},{"key":"Date","value":"Thu, 20 May 2021 12:39:50 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 8,\n    \"name\": \"Brand\",\n    \"description\": \"circuit Unbranded applications Implementation Pizza\",\n    \"imagePath\": \"./static/images/ingredient_images/8/photomode_19122020_180020.png\",\n    \"LanguageId\": \"1\",\n    \"SeasonId\": \"3\",\n    \"IngredientOriginId\": \"1\",\n    \"updatedAt\": \"2021-05-20T12:39:50.639Z\",\n    \"createdAt\": \"2021-05-20T12:39:50.206Z\"\n}"}],"_postman_id":"cf4d4ec3-3b43-40b1-9562-09b32e759c7f"},{"name":"update an ingredient","id":"38185c98-0d46-4825-afb8-22c5712c8a93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"ingre_name","value":"Shoes","type":"text"},{"key":"ingre_description","value":"Austria primary Practical","type":"text"},{"key":"ingre_lang","value":"1","type":"text"},{"key":"ingre_season","value":"3","type":"text"},{"key":"ingre_origin","value":"1","type":"text"},{"key":"ingre_image","type":"file","src":"/C:/Users/louis/OneDrive/Images/Google Earth VR/Copacabana.jpg"}]},"url":"http://localhost:8080/api/ingredient/:ingredientId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient",":ingredientId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"ingredientId"}]}},"response":[{"id":"43accedc-0c35-4bc1-94c6-dbf59eb6a020","name":"update an ingredient","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"ingre_name","value":"Lesotho","type":"text"},{"key":"ingre_description","value":"solid Tuna","type":"text"},{"key":"ingre_lang","value":"1","type":"text"},{"key":"ingre_season","value":"3","type":"text"},{"key":"ingre_origin","value":"1","type":"text"},{"key":"ingre_image","type":"file","src":"/C:/Users/louis/OneDrive/Images/Google Earth VR/Copacabana.jpg"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/ingredient/:ingredientId","host":["http://localhost:8080/api"],"path":["ingredient",":ingredientId"],"variable":[{"key":"ingredientId","value":"2"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"280"},{"key":"ETag","value":"W/\"118-FiXRYeAIzIJKmqxNbAm8Ox7u5gs\""},{"key":"Date","value":"Thu, 20 May 2021 13:11:07 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"clicks-and-mortar\",\n    \"description\": \"Implemented Analyst quantify\",\n    \"imagePath\": \"./static/images/ingredient_images/2/Copacabana.jpg\",\n    \"createdAt\": \"2021-05-10T13:04:14.662Z\",\n    \"updatedAt\": \"2021-05-20T13:11:07.464Z\",\n    \"IngredientOriginId\": \"1\",\n    \"LanguageId\": \"1\",\n    \"SeasonId\": \"3\"\n}"}],"_postman_id":"38185c98-0d46-4825-afb8-22c5712c8a93"},{"name":"get one ingredient","id":"78017e9c-5648-4652-8624-6e80faedc3bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/ingredient/:ingredientId","urlObject":{"path":["ingredient",":ingredientId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"ingredientId"}]}},"response":[{"id":"5f4604d1-67a6-4101-a49e-2befa3f00b43","name":"get one ingredient","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/ingredient/:ingredientId","host":["http://localhost:8080/api"],"path":["ingredient",":ingredientId"],"variable":[{"key":"ingredientId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"632"},{"key":"ETag","value":"W/\"278-paQB1ga0knbi9G9DEBQAv3S4cPU\""},{"key":"Date","value":"Thu, 20 May 2021 12:43:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"testsqdqs\",\n    \"description\": \"azeetetst\",\n    \"imagePath\": \"/static/images/ingredient_images/testImage.jpg\",\n    \"createdAt\": \"2021-05-10T13:04:14.578Z\",\n    \"updatedAt\": \"2021-05-10T13:04:14.578Z\",\n    \"IngredientOriginId\": 1,\n    \"LanguageId\": 1,\n    \"SeasonId\": 1,\n    \"Ingredient_Origin\": {\n        \"id\": 1,\n        \"name\": \"test\",\n        \"description\": \"azeetetst\",\n        \"address\": \"Rue joseph boulanmerd 20 4550 belgiqaque\",\n        \"website\": \"https://www.thispersonedeosnotexist.com\",\n        \"phone_number\": \"0458987452\",\n        \"image_path\": \"/static/images/ingredient_images/testImage.jpg\",\n        \"email\": \"test@homemadebylau.be\",\n        \"createdAt\": \"2021-05-10T13:04:14.379Z\",\n        \"updatedAt\": \"2021-05-10T13:04:14.379Z\",\n        \"LanguageId\": 1\n    }\n}"}],"_postman_id":"78017e9c-5648-4652-8624-6e80faedc3bf"},{"name":"delete an ingredients","id":"d0a530ca-8984-48f8-80e8-d1d038914092","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/ingredient/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient",":id"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"d0a530ca-8984-48f8-80e8-d1d038914092"}],"id":"5aa352e2-1ba9-41d6-a804-2a5f52dce1ef","_postman_id":"5aa352e2-1ba9-41d6-a804-2a5f52dce1ef","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"seasons","item":[{"name":"get all seasons","id":"00391400-f25a-48ba-9840-07c7a1e93225","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/seasons","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["seasons"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"905fc02e-10d2-47e2-b95b-1ac1d914624d","name":"get all seasons","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/seasons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"207"},{"key":"ETag","value":"W/\"cf-QJ1f79UHqVT9KvFIUOTYtJM8kWA\""},{"key":"Date","value":"Thu, 20 May 2021 16:03:02 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"code\": \"WI\",\n        \"full_name\": \"winter\"\n    },\n    {\n        \"id\": 2,\n        \"code\": \"SP\",\n        \"full_name\": \"spring\"\n    },\n    {\n        \"id\": 3,\n        \"code\": \"SU\",\n        \"full_name\": \"summer\"\n    },\n    {\n        \"id\": 4,\n        \"code\": \"FA\",\n        \"full_name\": \"fall\"\n    },\n    {\n        \"id\": 5,\n        \"code\": \"NO\",\n        \"full_name\": \"None\"\n    }\n]"}],"_postman_id":"00391400-f25a-48ba-9840-07c7a1e93225"},{"name":"get one season","id":"b01a8f4b-8d79-449a-b339-e1d05d6b4c82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/seasons/:seasonid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["seasons",":seasonid"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"seasonid"}]}},"response":[{"id":"931b6f05-ec6f-4176-8d22-214e7d81cb2d","name":"get one season","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/seasons/:seasonid","host":["http://localhost:8080/api"],"path":["seasons",":seasonid"],"variable":[{"key":"seasonid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-XyTHp5IhV//pE0LmFsrfpwH2j+M\""},{"key":"Date","value":"Thu, 20 May 2021 16:03:10 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"code\": \"WI\",\n    \"full_name\": \"winter\"\n}"}],"_postman_id":"b01a8f4b-8d79-449a-b339-e1d05d6b4c82"}],"id":"7906ed15-2c67-4a0f-af06-7bc701592dc9","_postman_id":"7906ed15-2c67-4a0f-af06-7bc701592dc9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"units","item":[{"name":"get all units","id":"7439b7bf-2705-49fb-b43f-44d1f216593b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/units","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["units"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"4c1f9cf9-99a0-462f-85a5-68687b3cf0db","name":"get all units","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/units"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"179"},{"key":"ETag","value":"W/\"b3-M9qLk+nz4vryRGOOh8JG0g+8Mwk\""},{"key":"Date","value":"Thu, 20 May 2021 16:03:23 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"code\": \"g\",\n        \"full_name\": \"gramme\"\n    },\n    {\n        \"id\": 2,\n        \"code\": \"ml\",\n        \"full_name\": \"mili_litter\"\n    },\n    {\n        \"id\": 3,\n        \"code\": \"te\",\n        \"full_name\": \"teaspoon\"\n    },\n    {\n        \"id\": 4,\n        \"code\": \"ta\",\n        \"full_name\": \"tablespoon\"\n    }\n]"}],"_postman_id":"7439b7bf-2705-49fb-b43f-44d1f216593b"},{"name":"create an unit","event":[{"listen":"test","script":{"id":"73b71c94-d9b0-4c08-9c2c-c229a01a12ad","exec":[" const tokken = pm.response.json().id\r"," pm.collectionVariables.set(\"unitId\", tokken);"],"type":"text/javascript"}}],"id":"ec2cd6ef-9d70-4ef5-bdf8-0b5bc3fba076","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"full_name\":\"mge\",\r\n    \"code\":\"rdqs\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/units","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["units"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"e82ee563-6332-4f24-baf4-06c4f8188668","name":"create an unit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"full_name\":\"mge\",\r\n    \"code\":\"rdqs\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/units"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-2bXe/GZCslWIHnixsA8vYrTfDmw\""},{"key":"Date","value":"Sat, 22 May 2021 09:04:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"full_name\": \"mge\",\n    \"code\": \"rdqs\"\n}"}],"_postman_id":"ec2cd6ef-9d70-4ef5-bdf8-0b5bc3fba076"},{"name":"get one unit","id":"76702e8c-04a8-45a2-9871-697ba8a84b91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/units/:unitId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["units",":unitId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"unitId"}]}},"response":[{"id":"d26c92b4-1dfc-416a-8945-b6d13e25a0ae","name":"get one unit","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/units/:unitId","host":["http://localhost:8080/api"],"path":["units",":unitId"],"variable":[{"key":"unitId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-otYKkTCp3S1pZo7ou18RjkAuCDk\""},{"key":"Date","value":"Thu, 20 May 2021 16:03:30 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"code\": \"g\",\n    \"full_name\": \"gramme\"\n}"}],"_postman_id":"76702e8c-04a8-45a2-9871-697ba8a84b91"},{"name":"update Unit","id":"bc48ad18-e39b-4def-9291-b63484d49b5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"full_name\":\"mge\",\r\n    \"code\":\"rdqs\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/units/:unitId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["units",":unitId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"","key":"unitId"}]}},"response":[{"id":"01dbc4ea-efd5-4b53-b540-d669f9dcb603","name":"update Unit","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"full_name\":\"mge\",\r\n    \"code\":\"rdqs\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/units/:unitId","host":["http://localhost:8080/api"],"path":["units",":unitId"],"variable":[{"key":"unitId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-2z7w1BDFUVFVnmLor8/znGaK1ow\""},{"key":"Date","value":"Sat, 22 May 2021 09:07:05 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"code\": \"rdqs\",\n    \"full_name\": \"mge\"\n}"}],"_postman_id":"bc48ad18-e39b-4def-9291-b63484d49b5a"},{"name":"delete Unit","id":"78e7df1e-6da8-432a-bf6f-6b8ca21012a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/units/:unitId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["units",":unitId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"","key":"unitId"}]}},"response":[{"id":"dd34b985-6c50-4d54-9116-a7e51934718f","name":"delete Unit","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:8080/api/units/:unitId","host":["http://localhost:8080/api"],"path":["units",":unitId"],"variable":[{"key":"unitId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Date","value":"Sat, 22 May 2021 09:07:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"78e7df1e-6da8-432a-bf6f-6b8ca21012a0"}],"id":"9fc8f102-3700-4f64-b4e6-fcd95695ffe9","_postman_id":"9fc8f102-3700-4f64-b4e6-fcd95695ffe9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"language","item":[{"name":"get all languages","id":"15d68203-6550-459c-8953-a41511ba7854","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/languages","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["languages"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"cbce97f4-a3cf-4622-b156-98b5b5957217","name":"get all languages","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/languages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"95"},{"key":"ETag","value":"W/\"5f-iCCOHjeVNEfHffxSHb9B5avtnjo\""},{"key":"Date","value":"Thu, 20 May 2021 16:03:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"full_name\": \"Français\",\n        \"code\": \"fr_FR\"\n    },\n    {\n        \"id\": 2,\n        \"full_name\": \"English\",\n        \"code\": \"en_EN\"\n    }\n]"}],"_postman_id":"15d68203-6550-459c-8953-a41511ba7854"},{"name":"get one language","id":"846427ab-a566-4c72-ab82-215c6e7f7a20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/languages/:languageId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["languages",":languageId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"languageId"}]}},"response":[{"id":"ef1da0e8-07a0-4d1b-bb6f-8597ebd8aef3","name":"get one language","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/languages/:languageId","host":["http://localhost:8080/api"],"path":["languages",":languageId"],"variable":[{"key":"languageId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"47"},{"key":"ETag","value":"W/\"2f-a4G3AW+xqP1WgTaKieRCzYIk5aY\""},{"key":"Date","value":"Thu, 20 May 2021 16:03:59 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"full_name\": \"Français\",\n    \"code\": \"fr_FR\"\n}"}],"_postman_id":"846427ab-a566-4c72-ab82-215c6e7f7a20"}],"id":"fb8ed155-2b6c-4e7c-b8ae-7388083f2c57","_postman_id":"fb8ed155-2b6c-4e7c-b8ae-7388083f2c57","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"users","item":[{"name":"create User","event":[{"listen":"test","script":{"id":"8d750371-d50f-4d94-ac29-7e7ea37770a3","exec":["\r","const atokken = pm.response.json().accessToken\r","const rtokken = pm.response.json().refreshToken\r","console.log(atokken ,rtokken)\r","pm.collectionVariables.set(\"accessToken\", atokken);\r","pm.collectionVariables.set(\"refreshToken\", rtokken);\r"," function jwt_decode(a) {\r","    var parts = a.split('.'); // header, payload, signature\r","    return JSON.parse(atob(parts[1]));\r","}\r","pm.test(\"validate data\", function () {\r","    //Get the token\r","    var a=pm.collectionVariables.get(\"tokken\");\r","    \r","    //call your function to decode it\r","    let decodedData=jwt_decode(a);\r","\r","    //print the decodedData to console to see the structure\r","    console.log(decodedData.id);\r","    pm.collectionVariables.set(\"userId\", decodedData.id);   \r","    //validate it using pm expect\r","    pm.expect(decodedData.right).to.equal(0);\r","});"],"type":"text/javascript"}}],"id":"bbe09c51-e82e-4915-8e05-318f04e5f33e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user_name","value":"Everardo_Kohler35","type":"text"},{"key":"last_name","value":"Abbott","type":"text"},{"key":"first_name","value":"Patsy","type":"text"},{"key":"email","value":"Joaquin88@gmail.com","type":"text"},{"key":"password","value":"b8697uEp8DmRvqs","type":"text"}]},"url":"http://localhost:8080/api/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["user"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"b680c76a-c5af-4391-b046-fd6b9d733066","name":"create User","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user_name","value":"Donavon_Boehm76","type":"text"},{"key":"last_name","value":"Berge","type":"text"},{"key":"first_name","value":"Taryn","type":"text"},{"key":"email","value":"Eryn.Koch@hotmail.com","type":"text"},{"key":"password","value":"ZDm1Esth2L1pQ18","type":"text"}]},"url":"http://localhost:8080/api/user"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"240"},{"key":"ETag","value":"W/\"f0-KrI9R9IR5cHIWw37cHxaTt3lNFc\""},{"key":"Date","value":"Sat, 22 May 2021 08:27:51 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6OSwiZW1haWwiOiJSYWxlaWdoLlJlaW5nZXIzN0B5YWhvby5jb20iLCJyaWdodCI6MCwidXNlcl9uYW1lIjoiTWFyZ2FyZXR0X0NocmlzdGlhbnNlbiIsImlhdCI6MTYyMTY3MjA3MX0.fOnYeDdtpg0JIhIC324W1b6VgDVxDYXjQJnlk832a0w\"\n}"}],"_postman_id":"bbe09c51-e82e-4915-8e05-318f04e5f33e"},{"name":"update User","id":"05d4eb3e-4be2-454d-8730-69b7667fd976","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_name\":\"Keven_Ondricka\",\r\n    \"last_name\":\"Waelchi\",\r\n    \"first_name\":\"Courtney\",\r\n    \"password\":\"tyHlGLmbQUyhXUe\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/:Userid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["user",":Userid"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"","key":"Userid"}]}},"response":[{"id":"5050561d-7746-4b55-93e1-3704fc076bf7","name":"update User","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_name\":\"Eli75\",\r\n    \"last_name\":\"Reilly\",\r\n    \"first_name\":\"Enrico\",\r\n    \"password\":\"QmxwXvw19AlAuVN\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/user/:Userid","host":["http://localhost:8080/api"],"path":["user",":Userid"],"variable":[{"key":"Userid","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"126"},{"key":"ETag","value":"W/\"7e-XdwNxfZ6yXI1PeYqoBTQ00Ear5Y\""},{"key":"Date","value":"Sat, 22 May 2021 08:58:32 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 17,\n    \"user_name\": \"Aiyana.Zemlak77\",\n    \"last_name\": \"Bergnaum\",\n    \"first_name\": \"Wellington\",\n    \"email\": \"Kara_Heidenreich3@gmail.com\"\n}"}],"_postman_id":"05d4eb3e-4be2-454d-8730-69b7667fd976"},{"name":"delete User","id":"eeb7a973-f848-495f-b05d-c7b7d83f6d90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/user/:Userid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["user",":Userid"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"","key":"Userid"}]}},"response":[{"id":"52b1044b-a1c9-4d97-9d3d-7fcf18f33483","name":"delete User","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:8080/api/user/:Userid","host":["http://localhost:8080/api"],"path":["user",":Userid"],"variable":[{"key":"Userid","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"21"},{"key":"ETag","value":"W/\"15-p9+dxOLibAYwSbN2QN6jpmYKT9k\""},{"key":"Date","value":"Sat, 22 May 2021 08:52:04 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"deleted\"\n}"}],"_postman_id":"eeb7a973-f848-495f-b05d-c7b7d83f6d90"},{"name":"get one User","event":[{"listen":"test","script":{"id":"5ab06744-4837-4dc4-a83d-5963efe51325","exec":[""],"type":"text/javascript"}}],"id":"46672540-8754-43d9-a158-03d5896ef85e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["user"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"4f14df57-e82d-43d9-86dd-c1de905c0fd4","name":"get one User","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"104"},{"key":"ETag","value":"W/\"68-QS2WoNbegiilayo/C3mK4PyUxUk\""},{"key":"Date","value":"Sat, 22 May 2021 08:46:24 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"user_name\": \"Cristopher.Mohr\",\n    \"first_name\": \"Laila\",\n    \"email\": \"Torrey51@gmail.com\",\n    \"last_name\": \"Mosciski\"\n}"}],"_postman_id":"46672540-8754-43d9-a158-03d5896ef85e"},{"name":"verify Email avability","id":"d7eeba5f-179e-4b8c-b85a-21eb795949cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/user/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["user",":email"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"test@test.com","key":"email"}]}},"response":[{"id":"63600a31-662b-4f14-88ec-3fef1e618d44","name":"verify Email avability","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/user/:email","host":["http://localhost:8080/api"],"path":["user",":email"],"variable":[{"key":"email","value":"test@test.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"ETag","value":"W/\"36-Y4uhtutF9bMzu5cZZKhF2KWK2uc\""},{"key":"Date","value":"Thu, 20 May 2021 16:04:55 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User aleready registered with this email\"\n}"}],"_postman_id":"d7eeba5f-179e-4b8c-b85a-21eb795949cb"},{"name":"get all subscribed workshop","id":"e5f9f333-78c9-4f6d-b034-2891471e13cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/user/:Userid/workshop","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["user",":Userid","workshop"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"Userid"}]}},"response":[{"id":"a33ef22a-398d-490b-9da5-d542a7595f28","name":"get all subscribed workshop","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/user/:Userid/workshop","host":["http://localhost:8080/api"],"path":["user",":Userid","workshop"],"variable":[{"key":"Userid","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"18"},{"key":"ETag","value":"W/\"12-c0qnoofkpxVqVOsSeX6Tq7K5X1o\""},{"key":"Date","value":"Wed, 26 May 2021 15:13:19 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"WorkshopId\": 2\n    }\n]"}],"_postman_id":"e5f9f333-78c9-4f6d-b034-2891471e13cd"},{"name":"send user validation email","id":"f0962252-fb3b-40c7-96ca-4debc9fb5900","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8080/api/user/verify","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["user","verify"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"47fd7203-e00d-4772-ba21-e4a5fbf11990","name":"send user validation email","originalRequest":{"method":"POST","header":[],"url":"http://localhost:8080/api/user/verify"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"315"},{"key":"ETag","value":"W/\"13b-55xuyAYhgvaTNgrkg5GbrNwnxCA\""},{"key":"Date","value":"Wed, 26 May 2021 18:02:18 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"accepted\": [\n        \"louisdewilde2001@gmail.com\"\n    ],\n    \"rejected\": [],\n    \"envelopeTime\": 86,\n    \"messageTime\": 145,\n    \"messageSize\": 1163,\n    \"response\": \"250 2.0.0 Ok: queued as EB6A12E24535\",\n    \"envelope\": {\n        \"from\": \"noReply@homemadebylau.be\",\n        \"to\": [\n            \"louisdewilde2001@gmail.com\"\n        ]\n    },\n    \"messageId\": \"<d189bc96-afd5-485b-d205-e80c04b7c2f5@homemadebylau.be>\"\n}"}],"_postman_id":"f0962252-fb3b-40c7-96ca-4debc9fb5900"}],"id":"5f8ee492-ecb8-4a10-9d26-fdd7b57f38d0","_postman_id":"5f8ee492-ecb8-4a10-9d26-fdd7b57f38d0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"Auth","item":[{"name":"login","event":[{"listen":"test","script":{"id":"11858890-c481-4849-90e6-55e9f8412a21","exec":["const atokken = pm.response.json().accessToken\r","const rtokken = pm.response.json().refreshToken\r","console.log(atokken ,rtokken)\r","pm.collectionVariables.set(\"accessToken\", atokken);\r","pm.collectionVariables.set(\"refreshToken\", rtokken);"],"type":"text/javascript"}}],"id":"a3905e7c-4692-4a67-a027-222839bd4e5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"test@test.com\",\r\n    \"password\":\"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/session/login","urlObject":{"path":["session","login"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"c034a0ab-54fd-4730-ad8b-47be86c7f0dd","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"test@test.com\",\r\n    \"password\":\"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/session/login"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"200"},{"key":"ETag","value":"W/\"c8-aCqvee8a0lSCxq7hsM8FXa+Hx4M\""},{"key":"Date","value":"Thu, 20 May 2021 16:05:26 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NSwiZW1haWwiOiJ0ZXN0QHRlc3QuY29tIiwicmlnaHQiOjEwLCJ1c2VyX25hbWUiOiJsb3VpcyIsImlhdCI6MTYyMTUyNjcyNn0.PW1b0VFYWF4VFhrFxmKqGJuawTCZQjFanHx6WKKiAMo\"\n}"}],"_postman_id":"a3905e7c-4692-4a67-a027-222839bd4e5f"},{"name":"logout","event":[{"listen":"test","script":{"id":"a99a32af-cf8b-4148-98a0-ea3185e703a5","exec":["pm.collectionVariables.set(\"tokken\", null);"],"type":"text/javascript"}}],"id":"a7ee1b94-d712-43b6-bf83-cd49fffef9e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/session/logout","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["session","logout"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7ee1b94-d712-43b6-bf83-cd49fffef9e0"},{"name":"refresh tokken","event":[{"listen":"test","script":{"id":"672d9e24-95ce-43b0-bc98-433cc00b0843","exec":["const atokken = pm.response.json().accessToken\r","pm.collectionVariables.set(\"accessToken\", atokken);"],"type":"text/javascript"}}],"id":"144d0ece-927f-402e-b773-778db96b24a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"refresh\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/session/refresh","urlObject":{"path":["session","refresh"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"a4f52e8a-2ff8-49a7-8ebb-0d61f34a02e2","name":"refresh tokken","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"refresh\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/session/refresh"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"229"},{"key":"ETag","value":"W/\"e5-0CpwiB6RIY8oZ0zE7s/rqJ19BYU\""},{"key":"Date","value":"Fri, 28 May 2021 11:13:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiZW1haWwiOiJ0ZXN0QHRlc3QuY29tIiwicmlnaHQiOjEwLCJ1c2VyX25hbWUiOiJsb3VpcyIsImlhdCI6MTYyMjIwMDQzMywiZXhwIjoxNjIyMjAwNzMzfQ.16Ma-xVmUPV62mTzDfvnw2pfkm_CJPn5zrb_mtaqVlE\"\n}"}],"_postman_id":"144d0ece-927f-402e-b773-778db96b24a3"}],"id":"0904f0c0-aefe-4b76-ad29-2a6e704b6db2","_postman_id":"0904f0c0-aefe-4b76-ad29-2a6e704b6db2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"Ingredient origin","item":[{"name":"get all origins","id":"c1523f9e-379f-4e9b-8605-502c99cd2da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/ingredient_origin","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient_origin"],"host":["http://localhost:8080/api"],"query":[{"disabled":true,"description":{"content":"<p>limit has to be between 1 and 20 default 20</p>\n","type":"text/plain"},"key":"limit","value":"1"},{"disabled":true,"key":"offset","value":"1"}],"variable":[]}},"response":[],"_postman_id":"c1523f9e-379f-4e9b-8605-502c99cd2da0"},{"name":"Create origin","id":"6413ae44-b734-4214-9ebe-bb57bca61ac3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8080/api/ingredient_origin","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient_origin"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6413ae44-b734-4214-9ebe-bb57bca61ac3"},{"name":"get one origin","id":"746362f7-5716-4415-a192-bb48ea1bb3f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/ingredient_origin/:originId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient_origin",":originId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"originId"}]}},"response":[{"id":"a6b3423c-3d85-4e50-b3ff-058216b9408b","name":"get one origin","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/ingredient_origin/:originId","host":["http://localhost:8080/api"],"path":["ingredient_origin",":originId"],"variable":[{"key":"originId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"368"},{"key":"ETag","value":"W/\"170-gCBiCUxuvolU70qq83xwbMZSzOM\""},{"key":"Date","value":"Thu, 20 May 2021 16:06:30 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"test\",\n    \"description\": \"azeetetst\",\n    \"address\": \"Rue joseph boulanmerd 20 4550 belgiqaque\",\n    \"website\": \"https://www.thispersonedeosnotexist.com\",\n    \"phone_number\": \"0458987452\",\n    \"image_path\": \"/static/images/ingredient_images/testImage.jpg\",\n    \"email\": \"test@homemadebylau.be\",\n    \"createdAt\": \"2021-05-10T13:04:14.379Z\",\n    \"updatedAt\": \"2021-05-10T13:04:14.379Z\",\n    \"LanguageId\": 1\n}"}],"_postman_id":"746362f7-5716-4415-a192-bb48ea1bb3f6"},{"name":"update origin","id":"e569f970-cded-4b18-893c-f8ed317c916c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:8080/api/ingredient_origin/:originId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient_origin",":originId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"","key":"originId"}]}},"response":[],"_postman_id":"e569f970-cded-4b18-893c-f8ed317c916c"},{"name":"update origin image","id":"181750af-9177-4fab-83b9-d223098709d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"origin_image","type":"file","value":null}]},"url":"http://localhost:8080/api/ingredient_origin/:originId/image","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient_origin",":originId","image"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"","key":"originId"}]}},"response":[],"_postman_id":"181750af-9177-4fab-83b9-d223098709d9"},{"name":"delete origin","id":"799d2e6c-07ae-46df-99b9-eb26f3130586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/ingredient_origin/:originId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["ingredient_origin",":originId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"","key":"originId"}]}},"response":[],"_postman_id":"799d2e6c-07ae-46df-99b9-eb26f3130586"}],"id":"83f331ff-5ebd-4865-91a5-823a0a6be983","_postman_id":"83f331ff-5ebd-4865-91a5-823a0a6be983","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}},{"name":"workshop","item":[{"name":"get one workshop","id":"be820f8a-15c1-40b5-b26c-4238366e681f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"803be6bb-efca-404f-8777-be05eb9f9be4","name":"get one workshop","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/workshop/:id","host":["http://localhost:8080/api"],"path":["workshop",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4"},{"key":"ETag","value":"W/\"4-K+iMpCQsduglOsYkdIUQZQMtaDM\""},{"key":"Date","value":"Wed, 09 Jun 2021 18:25:47 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"null"}],"_postman_id":"be820f8a-15c1-40b5-b26c-4238366e681f"},{"name":"get all workshops","id":"cac1b585-7b0d-419e-8342-62fb8928de06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/workshop","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop"],"host":["http://localhost:8080/api"],"query":[{"disabled":true,"description":{"content":"<p>limit has to be between 1 and 20 default 20</p>\n","type":"text/plain"},"key":"limit","value":"1"},{"disabled":true,"key":"offset","value":null}],"variable":[]}},"response":[{"id":"227a9f50-011e-44db-9507-fd4d1f9c27c6","name":"get all workshops","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/workshop"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1632"},{"key":"ETag","value":"W/\"660-2auyVdQTW3c4Ic8KyocSBv8NPTY\""},{"key":"Date","value":"Tue, 25 May 2021 14:05:59 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"date\": \"2022-02-28T22:18:59.000Z\",\n        \"address\": \"52730 Abernathy Fords\",\n        \"link\": \"http://jeromy.info\",\n        \"description\": \"24/7 homogeneous\",\n        \"subscribeBefore\": \"2021-05-25T09:11:05.000Z\",\n        \"available\": false,\n        \"maxSubscription\": 329,\n        \"createdAt\": \"2021-05-25T12:23:22.729Z\",\n        \"updatedAt\": \"2021-05-25T12:23:22.729Z\",\n        \"Recipe\": [\n            {\n                \"id\": 1\n            }\n        ]\n    },\n    {\n        \"id\": 3,\n        \"date\": \"2021-11-06T22:07:42.000Z\",\n        \"address\": \"546 Osinski Meadow\",\n        \"link\": \"http://kaitlin.biz\",\n        \"description\": \"Heights Cambridgeshire circuit\",\n        \"subscribeBefore\": \"2021-05-24T14:19:08.000Z\",\n        \"available\": true,\n        \"maxSubscription\": 319,\n        \"createdAt\": \"2021-05-25T12:31:07.570Z\",\n        \"updatedAt\": \"2021-05-25T12:31:07.570Z\",\n        \"Recipe\": []\n    },\n    {\n        \"id\": 4,\n        \"date\": \"2021-05-27T04:25:44.000Z\",\n        \"address\": \"1418 Gonzalo Valleys\",\n        \"link\": \"http://vivian.name\",\n        \"description\": \"Omani Liaison National copy access\",\n        \"subscribeBefore\": \"2021-05-24T22:16:30.000Z\",\n        \"available\": true,\n        \"maxSubscription\": 283,\n        \"createdAt\": \"2021-05-25T13:40:23.725Z\",\n        \"updatedAt\": \"2021-05-25T13:40:23.725Z\",\n        \"Recipe\": []\n    },\n    {\n        \"id\": 5,\n        \"date\": \"2022-01-23T10:39:12.000Z\",\n        \"address\": \"25801 Joshuah View\",\n        \"link\": \"http://earline.net\",\n        \"description\": \"Buckinghamshire SAS back-end Jersey\",\n        \"subscribeBefore\": \"2021-05-24T19:49:42.000Z\",\n        \"available\": true,\n        \"maxSubscription\": 286,\n        \"createdAt\": \"2021-05-25T13:40:25.806Z\",\n        \"updatedAt\": \"2021-05-25T13:40:25.806Z\",\n        \"Recipe\": []\n    },\n    {\n        \"id\": 6,\n        \"date\": \"2021-09-27T16:52:47.000Z\",\n        \"address\": \"976 Bergnaum Port\",\n        \"link\": \"https://karli.com\",\n        \"description\": \"withdrawal District tolerance strategic\",\n        \"subscribeBefore\": \"2021-05-25T00:15:14.000Z\",\n        \"available\": true,\n        \"maxSubscription\": 818,\n        \"createdAt\": \"2021-05-25T13:40:26.746Z\",\n        \"updatedAt\": \"2021-05-25T13:40:26.746Z\",\n        \"Recipe\": []\n    }\n]"}],"_postman_id":"cac1b585-7b0d-419e-8342-62fb8928de06"},{"name":"create workshop","id":"e6ff466e-cd62-4a96-ba81-8af626e0bce7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"title\":\"Lead Creative Architect\",\r\n        \"date\":\"Thu Oct 15 2026 00:54:39 GMT+0000 (Coordinated Universal Time)\",\r\n        \"address\": \"630 Mayert Land\",\r\n        \"link\": \"http://aron.name\",\r\n        \"description\": \"silver e-business array backing\",\r\n        \"subscribeBefore\": \"Sun Oct 04 2026 04:05:02 GMT+0000 (Coordinated Universal Time)\",\r\n        \"available\": 1,\r\n        \"maxSubscription\": \"736\",\r\n        \"LanguageId\": 1\r\n    }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/workshop","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop"],"host":["http://localhost:8080/api"],"query":[],"variable":[]}},"response":[{"id":"4f66837a-8326-4093-9c81-f9095decc024","name":"create workshop","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"title\":\"Central Branding Executive\",\r\n        \"date\":\"Tue Jan 05 2027 06:20:25 GMT+0000 (Coordinated Universal Time)\",\r\n        \"address\": \"492 Cummerata Isle\",\r\n        \"link\": \"https://marianne.name\",\r\n        \"description\": \"digital functionalities Plastic human-resource orchid\",\r\n        \"subscribeBefore\": \"Sat Oct 03 2026 11:03:19 GMT+0000 (Coordinated Universal Time)\",\r\n        \"available\": 1,\r\n        \"maxSubscription\": \"459\",\r\n        \"LanguageId\": 1\r\n    }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/workshop"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"381"},{"key":"ETag","value":"W/\"17d-f16BxiqR8dyQjp5aPwfPrKPpnXM\""},{"key":"Date","value":"Sat, 29 May 2021 13:14:40 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"title\": \"Customer Accounts Orchestrator\",\n    \"date\": \"2022-04-27T03:21:37.000Z\",\n    \"address\": \"788 Bergstrom Lock\",\n    \"link\": \"https://adrian.net\",\n    \"description\": \"capability Cambridgeshire Intelligent Games\",\n    \"subscribeBefore\": \"2021-05-28T18:07:07.000Z\",\n    \"available\": true,\n    \"maxSubscription\": \"224\",\n    \"LanguageId\": 1,\n    \"updatedAt\": \"2021-05-29T13:14:38.710Z\",\n    \"createdAt\": \"2021-05-29T13:14:38.710Z\"\n}"}],"_postman_id":"e6ff466e-cd62-4a96-ba81-8af626e0bce7"},{"name":"update a  workshop","id":"6ac88346-fcbe-4df5-b3a2-f223118c9bda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"title\":\"Regional Usability Facilitator\",\r\n        \"date\":\"Sat May 08 2027 22:11:19 GMT+0000 (Coordinated Universal Time)\",\r\n        \"address\": \"14312 Luis Spring\",\r\n        \"link\": \"http://nikolas.name\",\r\n        \"description\": \"Concrete Plastic demand-driven Plains\",\r\n        \"subscribeBefore\": \"Sat Oct 03 2026 16:48:06 GMT+0000 (Coordinated Universal Time)\",\r\n        \"available\": 1,\r\n        \"maxSubscription\": \"82\",\r\n        \"LanguageId\": 1\r\n    }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/workshop/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop",":id"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"935bd9b8-8aa9-4e56-8422-deb1268a2971","name":"update a  workshop","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"title\":\"National Usability Assistant\",\r\n        \"date\":\"Sat Aug 14 2027 20:20:13 GMT+0000 (Coordinated Universal Time)\",\r\n        \"address\": \"6296 Mraz Avenue\",\r\n        \"link\": \"https://adella.info\",\r\n        \"description\": \"Frozen back-end\",\r\n        \"subscribeBefore\": \"Sat Oct 03 2026 12:20:32 GMT+0000 (Coordinated Universal Time)\",\r\n        \"available\": 1,\r\n        \"maxSubscription\": \"719\",\r\n        \"LanguageId\": 1\r\n    }","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/workshop/:id","host":["http://localhost:8080/api"],"path":["workshop",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"353"},{"key":"ETag","value":"W/\"161-o5VtV8ij/jUfzVkFFkvjrqV85ek\""},{"key":"Date","value":"Sat, 29 May 2021 13:14:55 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"title\": \"Future Solutions Consultant\",\n    \"date\": \"2021-12-13T04:58:55.000Z\",\n    \"address\": \"478 Carmen Burg\",\n    \"link\": \"http://anissa.biz\",\n    \"description\": \"invoice pixel compress\",\n    \"subscribeBefore\": \"2021-05-28T21:59:47.000Z\",\n    \"available\": true,\n    \"maxSubscription\": \"234\",\n    \"createdAt\": \"2021-05-29T13:14:38.710Z\",\n    \"updatedAt\": \"2021-05-29T13:14:55.318Z\",\n    \"LanguageId\": 1\n}"}],"_postman_id":"6ac88346-fcbe-4df5-b3a2-f223118c9bda"},{"name":"delete workshop","id":"5a363e42-9d0c-42cd-a15c-74b31408a672","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/workshop/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop",":id"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"c599eeac-b833-417c-bd01-47f259705eaf","name":"delete workshop","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:8080/api/workshop/:id","host":["http://localhost:8080/api"],"path":["workshop",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"ETag","value":"W/\"13d-rzSPfEl6Kx426/VvuC2rGb+yDnQ\""},{"key":"Date","value":"Tue, 25 May 2021 12:48:22 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5a363e42-9d0c-42cd-a15c-74b31408a672"},{"name":"add recipe to workshop","id":"53645e78-f6d7-49d7-a4a5-8bb2defa461e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RecipeId\":9\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/workshop/:id/recipe","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop",":id","recipe"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[{"id":"820a3e52-15fb-4ae9-b7ec-682cfa35b035","name":"add recipe to workshop","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RecipeId\":2\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/workshop/:id/recipe","host":["http://localhost:8080/api"],"path":["workshop",":id","recipe"],"variable":[{"key":"id","value":"2"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"329"},{"key":"ETag","value":"W/\"149-wfCTIoY4WxbLNTadWYLKziDB51E\""},{"key":"Date","value":"Tue, 25 May 2021 17:23:00 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"date\": \"2022-02-28T22:18:59.000Z\",\n    \"address\": \"52730 Abernathy Fords\",\n    \"link\": \"http://jeromy.info\",\n    \"description\": \"24/7 homogeneous\",\n    \"subscribeBefore\": \"2021-05-25T09:11:05.000Z\",\n    \"available\": false,\n    \"maxSubscription\": 329,\n    \"createdAt\": \"2021-05-25T12:23:22.729Z\",\n    \"updatedAt\": \"2021-05-25T12:23:22.729Z\",\n    \"Recipe\": [\n        {\n            \"id\": 1\n        },\n        {\n            \"id\": 2\n        }\n    ]\n}"}],"_postman_id":"53645e78-f6d7-49d7-a4a5-8bb2defa461e"},{"name":"add user to workshop","id":"19436c35-2807-41cd-9774-03e602a7e5c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"UserId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/workshop/:id/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop",":id","user"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"}]}},"response":[{"id":"d1a3cb81-f467-4383-bf67-ca3dc0d98781","name":"add user to workshop","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"UserId\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/workshop/:id/user","host":["http://localhost:8080/api"],"path":["workshop",":id","user"],"variable":[{"key":"id","value":"2"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"300"},{"key":"ETag","value":"W/\"12c-qwXTd5C/8ziI2pIF4ZNuojUmZIQ\""},{"key":"Date","value":"Tue, 25 May 2021 17:23:34 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"date\": \"2022-02-28T22:18:59.000Z\",\n    \"address\": \"52730 Abernathy Fords\",\n    \"link\": \"http://jeromy.info\",\n    \"description\": \"24/7 homogeneous\",\n    \"subscribeBefore\": \"2021-05-25T09:11:05.000Z\",\n    \"available\": false,\n    \"maxSubscription\": 329,\n    \"createdAt\": \"2021-05-25T12:23:22.729Z\",\n    \"updatedAt\": \"2021-05-25T12:23:22.729Z\"\n}"}],"_postman_id":"19436c35-2807-41cd-9774-03e602a7e5c3"},{"name":"remove user from workshop","id":"6bdb1b15-a3da-4462-9279-02a39396a6c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"UserId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/workshop/:id/user/:idUser","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop",":id","user",":idUser"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"},{"type":"any","value":"1","key":"idUser"}]}},"response":[{"id":"3e978bc6-f922-4a45-87c7-68f40b803dbe","name":"remove user from workshop","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"UserId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/api/workshop/:id/user/:idUser","host":["http://localhost:8080/api"],"path":["workshop",":id","user",":idUser"],"variable":[{"key":"id","value":"2"},{"key":"idUser","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"ETag","value":"W/\"a-bAsFyilMr4Ra1hIU5PyoyFRunpI\""},{"key":"Date","value":"Tue, 25 May 2021 17:20:14 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6bdb1b15-a3da-4462-9279-02a39396a6c4"},{"name":"get number of user of the workshop","id":"ea877870-46d2-4da8-b9df-02ea05c9036a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/workshop/:id/totalSubscribed","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop",":id","totalSubscribed"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"2","key":"id"}]}},"response":[{"id":"6ebdaec2-a041-4bf4-a614-58fdd696ac8a","name":"get number of user of the workshop","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/api/workshop/:id/totalSubscribed","host":["http://localhost:8080/api"],"path":["workshop",":id","totalSubscribed"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"set-cookie"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1"},{"key":"ETag","value":"W/\"1-2kuSN7rMzfGcB2DKt67EqDWQELA\""},{"key":"Date","value":"Tue, 25 May 2021 17:23:40 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"2"}],"_postman_id":"ea877870-46d2-4da8-b9df-02ea05c9036a"},{"name":"send subscribtion validation email","id":"453b67ff-d2da-4ac2-8253-f2f5856e94fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8080/api/workshop/:id/verify","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop",":id","verify"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"453b67ff-d2da-4ac2-8253-f2f5856e94fb"},{"name":"remove recipe of a workshop","id":"2fc35f2c-5099-4e6e-8360-d3ee2a111022","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/workshop/:id/recipe/:RecipeId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}},"urlObject":{"path":["workshop",":id","recipe",":RecipeId"],"host":["http://localhost:8080/api"],"query":[],"variable":[{"type":"any","value":"","key":"id"},{"type":"any","value":"","key":"RecipeId"}]}},"response":[],"_postman_id":"2fc35f2c-5099-4e6e-8360-d3ee2a111022"}],"id":"ced58989-6d62-42ef-b07b-b57f54e47f52","_postman_id":"ced58989-6d62-42ef-b07b-b57f54e47f52","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","id":"35a7a968-f7e6-4e4c-bd4b-f8978b469b84","name":"HomeMadeBylau doc","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"898fd008-3d4a-4e19-874f-817acea294fc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7079bed4-65ae-4795-be12-2c807808ab86","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"http://localhost:8080/api"},{"key":"tokken","value":""},{"key":"userId","value":""},{"key":"unitId","value":""},{"key":"accessToken","value":""},{"key":"refreshToken","value":""}]}