{"info":{"_postman_id":"e79e18b5-85cc-4892-89d0-187e6a7fca44","name":"Car shop","description":"<html><head></head><body><ul>\n<li>CRUD(Create, Read, Update and Delete)</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20065093","collectionId":"e79e18b5-85cc-4892-89d0-187e6a7fca44","publishedId":"UzQvtQes","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-07-17T18:59:06.000Z"},"item":[{"name":"Cars","item":[{"name":"Create cars","id":"f2fd3fcf-aa6f-4dbd-846f-6f9d5020b9b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"model\": \"Uno da Escada\",\n  \"year\": 1963,\n  \"color\": \"red\",\n  \"buyValue\": 3500,\n  \"seatsQty\": 2,\n  \"doorsQty\": 2\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/cars","description":"<p>Responsável pela crição de carros no banco de dados:</p>\n<p>Status 201:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"model\": \"Uno da Escada\",\n    \"year\": 1963,\n    \"color\": \"red\",\n    \"buyValue\": 3500,\n    \"doorsQty\": 2,\n    \"seatsQty\": 2,\n    \"_id\": \"62d457720bdbaaefd7f6b03c\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"3001","path":["cars"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2fd3fcf-aa6f-4dbd-846f-6f9d5020b9b2"},{"name":"FInd all cars","id":"8e34627f-cf65-42b3-8cbf-9f7e3112906b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/cars","description":"<p>Status 200:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"_id\": \"62d457720bdbaaefd7f6b03c\",\n        \"model\": \"Uno da Escada\",\n        \"year\": 1963,\n        \"color\": \"red\",\n        \"buyValue\": 3500,\n        \"doorsQty\": 2,\n        \"seatsQty\": 2\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"3001","path":["cars"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e34627f-cf65-42b3-8cbf-9f7e3112906b"},{"name":"Find cars by id","id":"10678990-c48e-4302-bc1b-e8568244c81e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/cars/62d457720bdbaaefd7f6b03c","description":"<p>Status 200:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"_id\": \"62d457720bdbaaefd7f6b03c\",\n    \"model\": \"Uno da Escada\",\n    \"year\": 1963,\n    \"color\": \"red\",\n    \"buyValue\": 3500,\n    \"doorsQty\": 2,\n    \"seatsQty\": 2\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"3001","path":["cars","62d457720bdbaaefd7f6b03c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"10678990-c48e-4302-bc1b-e8568244c81e"},{"name":"Update cars by id","id":"0572e565-4e14-474e-ad38-ae3493b6a2e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\n  \"color\": \"blue\"\n} ","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/cars/62d4dcafbccd52be92c15994","description":"<p>Status 200:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"_id\": \"62d457720bdbaaefd7f6b03c\",\n    \"model\": \"Uno da Escada\",\n    \"year\": 1963,\n    \"color\": \"blue\",\n    \"buyValue\": 3500,\n    \"doorsQty\": 2,\n    \"seatsQty\": 2\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"3001","path":["cars","62d4dcafbccd52be92c15994"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0572e565-4e14-474e-ad38-ae3493b6a2e0"},{"name":"Delete car by id","id":"6ad4f218-c38c-48f4-b628-aa4534d34347","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3001/cars/62d455690bdbaaefd7f6b02f","description":"<p>Status 204</p>\n","urlObject":{"protocol":"http","port":"3001","path":["cars","62d455690bdbaaefd7f6b02f"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ad4f218-c38c-48f4-b628-aa4534d34347"}],"id":"c989289f-d56b-452f-9b3e-6d289f46eea8","description":"<p>Rota completa de carros da API.</p>\n","_postman_id":"c989289f-d56b-452f-9b3e-6d289f46eea8"},{"name":"Motorcycles","item":[{"name":"Create","id":"de59e3c6-458f-43a4-b634-d5c4277fd85c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"model\": \"Honda CG Titan 125\",\n  \"year\": 1963,\n  \"color\": \"red\",\n  \"buyValue\": 3500,\n  \"category\": \"Street\",\n  \"engineCapacity\": 125\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/motorcycles","description":"<p>Status 201:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"model\": \"Honda CG Titan 125\",\n    \"year\": 1963,\n    \"color\": \"red\",\n    \"buyValue\": 3500,\n    \"category\": \"Street\",\n    \"engineCapacity\": 125,\n    \"_id\": \"62d459130bdbaaefd7f6b043\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"3001","path":["motorcycles"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"de59e3c6-458f-43a4-b634-d5c4277fd85c"},{"name":"FInd all motorcycles","id":"bc4fbcb4-e38a-495b-b921-6a67a8df863e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/motorcycles","description":"<p>Status 200:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"_id\": \"62d459130bdbaaefd7f6b043\",\n        \"model\": \"Honda CG Titan 125\",\n        \"year\": 1963,\n        \"color\": \"red\",\n        \"buyValue\": 3500,\n        \"category\": \"Street\",\n        \"engineCapacity\": 125\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"3001","path":["motorcycles"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc4fbcb4-e38a-495b-b921-6a67a8df863e"},{"name":"Find motorcycles by id","id":"8b43fd73-c15f-41b0-8fbd-6513877ba8da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/motorcycles/c","description":"<p>Status 200:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"_id\": \"62d459130bdbaaefd7f6b043\",\n    \"model\": \"Honda CG Titan 125\",\n    \"year\": 1963,\n    \"color\": \"red\",\n    \"buyValue\": 3500,\n    \"category\": \"Street\",\n    \"engineCapacity\": 125\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"3001","path":["motorcycles","c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b43fd73-c15f-41b0-8fbd-6513877ba8da"},{"name":"Update motorcycles by id","id":"5df862bf-483f-4af0-98d4-fb797cd7b3ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"color\": \"blue\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/motorcycles/62d4dcebbccd52be92c15999","description":"<p>Status 200:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"_id\": \"62d459130bdbaaefd7f6b043\",\n    \"model\": \"Honda CG Titan 125\",\n    \"year\": 1963,\n    \"color\": \"blue\",\n    \"buyValue\": 3500,\n    \"category\": \"Street\",\n    \"engineCapacity\": 125\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"3001","path":["motorcycles","62d4dcebbccd52be92c15999"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5df862bf-483f-4af0-98d4-fb797cd7b3ab"},{"name":"Delete motorcycles by id","id":"39df2bf6-1ea8-46bd-a705-9732a81335f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3001/motorcycles/62d455270bdbaaefd7f6b027","description":"<p>Status 204</p>\n","urlObject":{"protocol":"http","port":"3001","path":["motorcycles","62d455270bdbaaefd7f6b027"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"39df2bf6-1ea8-46bd-a705-9732a81335f3"}],"id":"d8aa2922-5a61-4447-805c-9fa3e8cac9e4","_postman_id":"d8aa2922-5a61-4447-805c-9fa3e8cac9e4","description":""}]}