{"info":{"_postman_id":"f197ce5e-763e-4659-9403-9d52d650a4db","name":"desafio-minicrud","description":"<html><head></head><body><p>Esta API permite realizar operações de <strong>CRUD de produtos</strong>, possibilitando criar, listar, atualizar e remover produtos do sistema.</p>\n<p>Cada produto possui os seguintes atributos:</p>\n<ul>\n<li><p><strong>id</strong> → identificador único do produto</p>\n</li>\n<li><p><strong>nome</strong> → nome do produto</p>\n</li>\n<li><p><strong>preco</strong> → valor do produto</p>\n</li>\n</ul>\n<p>A API segue os princípios de <strong>REST</strong>, utilizando os métodos HTTP apropriados para cada operação.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"19569624","collectionId":"f197ce5e-763e-4659-9403-9d52d650a4db","publishedId":"2sBXcLec9Y","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-05T22:28:47.000Z"},"item":[{"name":"Criar-Produto","id":"85ae391b-5661-4141-806e-5c4b29b66ede","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nome\": \"Mochila\",\r\n    \"preco\": 180.00\r\n}    ","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/produtos","description":"<p><strong>Cria um novo produto no sistema.</strong></p>\n","urlObject":{"protocol":"http","port":"3000","path":["produtos"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d15928f2-558d-4cdc-b7c2-de38b8147b83","name":"Criar-Produto","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nome\": \"Mochila\",\r\n    \"preco\": 180.00\r\n}    ","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/produtos"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"ETag","value":"W/\"25-tjkmGyKQLlGJFAmAkY795B3c0Wo\""},{"key":"Date","value":"Thu, 05 Mar 2026 03:29:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"nome\": \"Mochila\",\n    \"preco\": 180\n}"}],"_postman_id":"85ae391b-5661-4141-806e-5c4b29b66ede"},{"name":"Listar-Produto","id":"428755cd-4e91-412e-a02a-675dd0b53b6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/produtos","description":"<p>Lista todos os produtos cadastrados.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["produtos"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7f17888e-d5e5-44ba-b872-c836f52ac4ae","name":"Listar-Produto","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/produtos"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"112"},{"key":"ETag","value":"W/\"70-srQ4gfJH/GyKFrz6uzEYhPtsiS8\""},{"key":"Date","value":"Thu, 05 Mar 2026 03:30:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"nome\": \"Mouse\",\n        \"preco\": 50\n    },\n    {\n        \"id\": 2,\n        \"nome\": \"Teclado\",\n        \"preco\": 120\n    },\n    {\n        \"id\": 3,\n        \"nome\": \"Mochila\",\n        \"preco\": 180\n    }\n]"}],"_postman_id":"428755cd-4e91-412e-a02a-675dd0b53b6a"},{"name":"Lista-Produto/ID","id":"a7606a12-c466-4b7d-8f7d-ca72ab7c6e00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/produtos/3","description":"<p>Lista um produto específico com base no {<strong>ID}</strong>.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["produtos","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e474efaf-7116-4c28-9f8a-5641c815650c","name":"Lista-Produto/ID","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/produtos/3"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"ETag","value":"W/\"25-tjkmGyKQLlGJFAmAkY795B3c0Wo\""},{"key":"Date","value":"Thu, 05 Mar 2026 03:31:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"nome\": \"Mochila\",\n    \"preco\": 180\n}"}],"_postman_id":"a7606a12-c466-4b7d-8f7d-ca72ab7c6e00"},{"name":"Atualizar-Produto","id":"aa6a9ee6-f3a2-451e-abff-c5bb4abac145","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nome\": \"Mouse\",\r\n    \"preco\": 50.00\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/produtos/1","description":"<p>Atualiza os dados de um produto existente por {ID}.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["produtos","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"aea2406d-fc63-459a-949c-07c0f8be34c1","name":"Atualizar-Produto","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nome\": \"Mouse\",\r\n    \"preco\": 50.00\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/produtos/1"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"34"},{"key":"ETag","value":"W/\"22-E0MrcH1Z+hh8kR9whpU6LeTURUc\""},{"key":"Date","value":"Thu, 05 Mar 2026 03:40:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"nome\": \"Mouse\",\n    \"preco\": 50\n}"}],"_postman_id":"aa6a9ee6-f3a2-451e-abff-c5bb4abac145"},{"name":"Deletar-Produto","id":"159cd56d-862e-4048-bce1-ca30e3a08fbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/produtos/3","description":"<p>Remove um produto por {ID} do sistema</p>\n","urlObject":{"protocol":"http","port":"3000","path":["produtos","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"85594a0b-106e-4ae5-944a-717cf4c98b75","name":"Deletar-Produto","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/produtos/3"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Date","value":"Thu, 05 Mar 2026 03:41:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"159cd56d-862e-4048-bce1-ca30e3a08fbb"}]}