{"info":{"_postman_id":"8648c457-72d6-453e-80ac-296bdb7ef216","name":"Case-Amaro","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"17589376","collectionId":"8648c457-72d6-453e-80ac-296bdb7ef216","publishedId":"UVeDtnec","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-01T16:37:54.000Z"},"item":[{"name":"Produtos","item":[{"name":"Create Products","id":"2e59fd25-2e7b-42f2-aae1-5442b17e897f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Conjunto Moleton Tricor\",\r\n    \"size\": \"G\",\r\n    \"price\": 300\r\n}","options":{"raw":{"language":"json"}}},"url":"https://amaro-backend-challange.herokuapp.com/product/create","urlObject":{"protocol":"https","path":["product","create"],"host":["amaro-backend-challange","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e59fd25-2e7b-42f2-aae1-5442b17e897f"},{"name":"Get Product Name","id":"94837f4c-5a9a-4e07-a60c-3feb3cf980e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://amaro-backend-challange.herokuapp.com/product/Calça Jeans","urlObject":{"protocol":"https","path":["product","Calça Jeans"],"host":["amaro-backend-challange","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"ba87c65e-8050-48b1-a5ca-f46e85e05f35","name":"Get Product Name","originalRequest":{"method":"GET","header":[],"url":"https://amaro-backend-challange.herokuapp.com/product/Calça Jeans"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"135"},{"key":"Etag","value":"W/\"87-e0n64voADO5eaw+sVA/JGlLZdPE\""},{"key":"Date","value":"Tue, 01 Feb 2022 16:35:39 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"productName\": [\n        {\n            \"id do produto\": \"a6924ab9-954b-4891-b962-a92be20ee22c\",\n            \"nome do produto\": \"Calça Jeans\",\n            \"tamanho\": \"40\",\n            \"preço\": 360\n        }\n    ]\n}"}],"_postman_id":"94837f4c-5a9a-4e07-a60c-3feb3cf980e8"}],"id":"b0dfea68-cda7-4bc5-a6f7-0bd1f40f3fda","_postman_id":"b0dfea68-cda7-4bc5-a6f7-0bd1f40f3fda","description":""},{"name":"Tags","item":[{"name":"Create Tag","id":"6f83d445-eaaf-476b-a19a-2d7c0bfb4b40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \r\n    \"name\": \"Versace\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://amaro-backend-challange.herokuapp.com/tag/create","urlObject":{"protocol":"https","path":["tag","create"],"host":["amaro-backend-challange","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f83d445-eaaf-476b-a19a-2d7c0bfb4b40"},{"name":"Get Tag Name","id":"abda1692-08c3-47b8-bae0-615faecf46fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://amaro-backend-challange.herokuapp.com/tag/Versace","urlObject":{"protocol":"https","path":["tag","Versace"],"host":["amaro-backend-challange","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"79a1b78d-8aef-46ca-a54d-9bbf7cacb1fb","name":"Get Tag Name","originalRequest":{"method":"GET","header":[],"url":"https://amaro-backend-challange.herokuapp.com/tag/Versace"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"87"},{"key":"Etag","value":"W/\"57-tlUlxoSr7CADsR3j89fgSgKU/P0\""},{"key":"Date","value":"Tue, 01 Feb 2022 16:36:31 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"productName\": [\n        {\n            \"id\": \"67db2991-314d-4951-917b-cf66d5598799\",\n            \"nome da tag\": \"Versace\"\n        }\n    ]\n}"}],"_postman_id":"abda1692-08c3-47b8-bae0-615faecf46fe"}],"id":"48285df5-b391-48d2-bf4d-4ca0e3618594","_postman_id":"48285df5-b391-48d2-bf4d-4ca0e3618594","description":""},{"name":"ProductId and TagId","item":[{"name":"Insert IdProduct and IdTag","id":"d1bcfed2-f884-4999-a93e-baff1ab07ec4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_product\": \"e1e438af-9d31-4cb8-8170-7d7e5aa02fab\",\r\n    \"id_tags\": [\"67db2991-314d-4951-917b-cf66d5598799\", \"71588c15-3cf9-46e2-a814-2205e4fa9b42\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://amaro-backend-challange.herokuapp.com/product/tag/insert","urlObject":{"protocol":"https","path":["product","tag","insert"],"host":["amaro-backend-challange","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1bcfed2-f884-4999-a93e-baff1ab07ec4"},{"name":"Get Product Id Params","id":"598234b3-bd20-4f69-835b-cfbbf99906f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://amaro-backend-challange.herokuapp.com/product/tag/a6924ab9-954b-4891-b962-a92be20ee22c","urlObject":{"protocol":"https","path":["product","tag","a6924ab9-954b-4891-b962-a92be20ee22c"],"host":["amaro-backend-challange","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"66150ee4-d93d-49e5-91ca-cb76f04e2da2","name":"Get Product Id Params","originalRequest":{"method":"GET","header":[],"url":"https://amaro-backend-challange.herokuapp.com/product/tag/a6924ab9-954b-4891-b962-a92be20ee22c"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"159"},{"key":"Etag","value":"W/\"9f-dW07qeQFkM1LS14g8BpjnqlfKxw\""},{"key":"Date","value":"Tue, 01 Feb 2022 16:37:06 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"productId\": {\n        \"idDoProduto\": \"a6924ab9-954b-4891-b962-a92be20ee22c\",\n        \"nomeDoProduto\": \"Calça Jeans\",\n        \"tamanho\": \"40\",\n        \"preco\": 360,\n        \"tag\": [\n            \"Amarração\",\n            \"Destroid\"\n        ]\n    }\n}"}],"_postman_id":"598234b3-bd20-4f69-835b-cfbbf99906f6"},{"name":"Get Tag Id By Query","id":"c51dd877-5c2d-48b3-b9b0-55a6bccb8982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://amaro-backend-challange.herokuapp.com/product/tag/tag?id_tag=71588c15-3cf9-46e2-a814-2205e4fa9b42","urlObject":{"protocol":"https","path":["product","tag","tag"],"host":["amaro-backend-challange","herokuapp","com"],"query":[{"key":"id_tag","value":"71588c15-3cf9-46e2-a814-2205e4fa9b42"}],"variable":[]}},"response":[{"id":"3945aa82-f597-4104-b70c-6ccda2c9e7c6","name":"Get Tag Id By Query","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://amaro-backend-challange.herokuapp.com/product/tag/tag?id_tag=71588c15-3cf9-46e2-a814-2205e4fa9b42","protocol":"https","host":["amaro-backend-challange","herokuapp","com"],"path":["product","tag","tag"],"query":[{"key":"id_tag","value":"71588c15-3cf9-46e2-a814-2205e4fa9b42"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"170"},{"key":"Etag","value":"W/\"aa-ieya/NNlpcBH5zyD1B0/LjbK984\""},{"key":"Date","value":"Tue, 01 Feb 2022 16:37:21 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"tagId\": {\n        \"id do produto\": \"a6924ab9-954b-4891-b962-a92be20ee22c\",\n        \"nome do produto\": \"Calça Jeans\",\n        \"tamanho do produto\": \"40\",\n        \"preço do produto\": 360,\n        \"name\": \"Amarração\"\n    }\n}"}],"_postman_id":"c51dd877-5c2d-48b3-b9b0-55a6bccb8982"}],"id":"f4e3d29d-dbed-4373-b8b2-d236c000e330","_postman_id":"f4e3d29d-dbed-4373-b8b2-d236c000e330","description":""}]}