{"info":{"_postman_id":"ff19f537-41c6-4d84-ab2d-5a63bac167f5","name":"My Collection","description":"<html><head></head><body><h2 id=\"cafe-api--student-friendly-overview\">Cafe API – Student-Friendly Overview</h2>\n<p>This collection shows a simple REST API for managing cafes. You can use it to:</p>\n<ul>\n<li>Browse all cafes</li>\n<li>Search cafes by location</li>\n<li>Get a random cafe suggestion</li>\n<li>Update a cafe’s coffee price</li>\n<li>Mark a cafe as permanently closed</li>\n</ul>\n<p>All requests in this collection currently use a local server:\n<code>http://localhost:5000</code></p>\n<hr>\n<h2 id=\"key-endpoints-in-this-collection\">Key Endpoints in This Collection</h2>\n<ol>\n<li><p><strong>GET /all</strong>  – <em>List all cafes</em></p>\n<ul>\n<li><strong>Request:</strong> <code>GET http://localhost:5000/all</code></li>\n<li><strong>Use it for:</strong> Getting a full list of cafes with details such as name, location, wifi, sockets, and price.</li>\n<li><strong>In this collection:</strong> Request named <strong>\"for all cafes\"</strong>.</li>\n</ul>\n</li>\n<li><p><strong>GET /search/</strong>  – <em>Search cafes by area</em></p>\n<ul>\n<li><strong>Request example:</strong> <code>GET http://localhost:5000/search/Peckham</code></li>\n<li><strong>Path parameter:</strong><ul>\n<li><code>location</code> – the area to search in (e.g., <code>Peckham</code>).</li>\n</ul>\n</li>\n<li><strong>Use it for:</strong> Finding cafes in a specific location.</li>\n<li><strong>In this collection:</strong> Request named <strong>\"Search cafee and location\"</strong>.</li>\n</ul>\n</li>\n<li><p><strong>GET /random</strong> – <em>Get one random cafe</em></p>\n<ul>\n<li><strong>Request:</strong> <code>GET http://localhost:5000/random</code></li>\n<li><strong>Use it for:</strong> Getting a single random cafe suggestion.</li>\n<li><strong>In this collection:</strong> Request named <strong>\"random one\"</strong>.</li>\n</ul>\n</li>\n<li><p><strong>PATCH /update-price/?new_price=...</strong> – <em>Update a cafe’s coffee price</em></p>\n<ul>\n<li><strong>Request example:</strong> <code>PATCH http://localhost:5000/update-price/1?new_price=2.80</code></li>\n<li><strong>Path parameter:</strong><ul>\n<li><code>id</code> – numeric cafe ID to update.</li>\n</ul>\n</li>\n<li><strong>Query parameter:</strong><ul>\n<li><code>new_price</code> – new coffee price (e.g., <code>2.80</code>).</li>\n</ul>\n</li>\n<li><strong>Use it for:</strong> Editing the price of a cafe’s coffee.</li>\n<li><strong>In this collection:</strong> Request named <strong>\"to update price\"</strong>.</li>\n</ul>\n</li>\n<li><p><strong>DELETE /report-closed/?api_key=...</strong> – <em>Mark a cafe as closed</em></p>\n<ul>\n<li><strong>Request example:</strong> <code>DELETE http://localhost:5000/report-closed/5?api_key=supersecretkey123</code></li>\n<li><strong>Path parameter:</strong><ul>\n<li><code>id</code> – numeric cafe ID to delete/mark closed.</li>\n</ul>\n</li>\n<li><strong>Query parameter:</strong><ul>\n<li><code>api_key</code> – required key that authorizes deletion.</li>\n</ul>\n</li>\n<li><strong>Use it for:</strong> Removing a cafe that has shut down.</li>\n<li><strong>In this collection:</strong> Request named <strong>\"to delete a cafe\"</strong>.</li>\n</ul>\n</li>\n</ol>\n<hr>\n<h2 id=\"how-to-use-this-collection-in-postman-step-by-step\">How to Use This Collection in Postman (Step-by-Step)</h2>\n<ol>\n<li><p><strong>Start your API server</strong></p>\n<ul>\n<li>Make sure the backend for this Cafe API is running locally on <code>http://localhost:5000</code>.</li>\n</ul>\n</li>\n<li><p><strong>Send your first request</strong></p>\n<ul>\n<li>Open the <strong>My Collection</strong> collection.</li>\n<li>Choose <strong>\"for all cafes\"</strong> (GET <code>/all</code>).</li>\n<li>Click <strong>Send</strong>.</li>\n<li>You should see a JSON array of cafes in the response.</li>\n</ul>\n</li>\n<li><p><strong>Try searching by location</strong></p>\n<ul>\n<li>Open <strong>\"Search cafee and location\"</strong> (GET <code>/search/Peckham</code>).</li>\n<li>Change <code>Peckham</code> in the URL to another location your API supports, if needed.</li>\n<li>Click <strong>Send</strong> to see cafes filtered by that location.</li>\n</ul>\n</li>\n<li><p><strong>Get a random cafe</strong></p>\n<ul>\n<li>Open <strong>\"random one\"</strong> (GET <code>/random</code>).</li>\n<li>Click <strong>Send</strong> and inspect the single cafe returned.</li>\n</ul>\n</li>\n<li><p><strong>Update a cafe’s price (PATCH)</strong></p>\n<ul>\n<li>Open <strong>\"to update price\"</strong> (PATCH <code>/update-price/&lt;id&gt;</code>).</li>\n<li>Change the <code>id</code> in the URL to a valid cafe ID.</li>\n<li>Adjust the <code>new_price</code> query parameter to the value you want.</li>\n<li>Click <strong>Send</strong> and then check <code>/all</code> or <code>/search</code> to confirm the new price.</li>\n</ul>\n</li>\n<li><p><strong>Report a cafe as closed (DELETE)</strong></p>\n<ul>\n<li>Open <strong>\"to delete a cafe\"</strong> (DELETE <code>/report-closed/&lt;id&gt;</code>).</li>\n<li>Change the <code>id</code> to the cafe you want to remove.</li>\n<li>Ensure the <code>api_key</code> query parameter is set to a valid key expected by your server.</li>\n<li>Click <strong>Send</strong>, then re-run <code>/all</code> to check that the cafe is gone.</li>\n</ul>\n</li>\n</ol>\n<hr>\n<h2 id=\"notes-for-students\">Notes for Students</h2>\n<ul>\n<li>All examples use a <strong>local server</strong>, so they only work when your API project is running.</li>\n<li>You can duplicate these requests, change parameters, and observe how the JSON response changes.</li>\n<li>This collection is a good starting point for learning:<ul>\n<li>HTTP methods: <strong>GET</strong>, <strong>PATCH</strong>, <strong>DELETE</strong></li>\n<li>Path vs query parameters</li>\n<li>Basic API testing with Postman.</li>\n</ul>\n</li>\n</ul>\n<p>You can extend this API by adding more endpoints (for example, to create a new cafe) and then adding matching requests to this collection.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"52395039","collectionId":"ff19f537-41c6-4d84-ab2d-5a63bac167f5","publishedId":"2sBXcBo3HV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-02-15T11:18:42.000Z"},"item":[{"name":"Search cafee and location","event":[{"listen":"test","script":{"id":"69c6c19e-3447-472e-b2c0-f6c6849dba99","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e0a78aa1-5ce2-44db-a8fd-bcf81aff7c70","request":{"method":"GET","header":[],"url":"{{base_url}}/search/Peckham","description":"<p>This is a GET request and it is used to \"get\" data from an endpoint. There is no request body for a GET request, but you can use query parameters to help specify the resource you want data on (e.g., in this request, we have <code>id=1</code>).</p>\n<p>A successful GET response will have a <code>200 OK</code> status, and should include some kind of response body - for example, HTML web content or JSON data.</p>\n","urlObject":{"path":["search","Peckham"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0a78aa1-5ce2-44db-a8fd-bcf81aff7c70"},{"name":"random one","event":[{"listen":"test","script":{"id":"69c6c19e-3447-472e-b2c0-f6c6849dba99","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2c590e32-f326-4a44-b6e1-f4c7683956c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/random","urlObject":{"path":["random"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c590e32-f326-4a44-b6e1-f4c7683956c9"},{"name":"for all cafes","event":[{"listen":"test","script":{"id":"69c6c19e-3447-472e-b2c0-f6c6849dba99","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"65cfe626-10e5-47a5-a823-1b4f8f34c0a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/all","urlObject":{"path":["all"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"42af2db2-f897-4741-98b4-9194a36a073e","name":"for all cafes","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/all"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Sun, 15 Feb 2026 08:54:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2184"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"9ce3941d3e3d6091-MAA"},{"key":"Content-Encoding","value":"br"},{"key":"rndr-id","value":"d6a8d7c5-3f28-4f25"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-render-origin-server","value":"gunicorn"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"cafes\": [\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"21\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": false,\n            \"id\": 1,\n            \"img_url\": \"https://atlondonbridge.com/wp-content/uploads/2019/02/Pano_9758_9761-Edit-190918_LTS_Science_Gallery-Medium-Crop-V2.jpg\",\n            \"location\": \"London Bridge\",\n            \"map_url\": \"https://g.page/scigallerylon?share\",\n            \"name\": \"Science Gallery London\",\n            \"seats\": \"50+\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.75\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 2,\n            \"img_url\": \"https://images.squarespace-cdn.com/content/v1/5734f3ff4d088e2c5b08fe13/1555848382269-9F13FE1WQDNUUDQOAOXF/ke17ZwdGBToddI8pDm48kAeyi0pcxjZfLZiASAF9yCBZw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpzV8NE8s7067ZLWyi1jRvJklJnlBFEUyq1al9AqaQ7pI4DcRJq_Lf3JCtFMXgpPQyk/copeland-park-bar-peckham\",\n            \"location\": \"Peckham\",\n            \"map_url\": \"https://g.page/CopelandSocial?share\",\n            \"name\": \"Social - Copeland Road\",\n            \"seats\": \"20-30\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.75\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 3,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipOMzXpKAQNyUvrjTGHqCgWk8spwnzwP8Ml2aDKt=s0\",\n            \"location\": \"Peckham\",\n            \"map_url\": \"https://g.page/one-all-cafe?share\",\n            \"name\": \"One & All Cafe Peckham\",\n            \"seats\": \"20-30\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.80\",\n            \"has_sockets\": true,\n            \"has_toilet\": false,\n            \"has_wifi\": true,\n            \"id\": 4,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipPBAt6bYna7pv5c7e_PhCDPMKPb6oFf6kMT2VQ1=s0\",\n            \"location\": \"Peckham\",\n            \"map_url\": \"https://www.google.com/maps/place/Old+Spike+Roastery/@51.4651552,-0.0666088,17z/data=!4m12!1m6!3m5!1s0x487603a3a7dd838d:0x4105b39b30a737cf!2sOld+Spike+Roastery!8m2!3d51.4651552!4d-0.0666088!3m4!1s0x487603a3a7dd838d:0x4105b39b30a737cf!8m2!3d51.4651552!4d-0.0666088\",\n            \"name\": \"Old Spike\",\n            \"seats\": \"0-10\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.80\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 6,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipN-C650VmJ1XZhzOIBTg1bUu3_to_GHpyrmUplt=s0\",\n            \"location\": \"Hackney\",\n            \"map_url\": \"https://goo.gl/maps/DWnwaeeiwdYsBkEH9\",\n            \"name\": \"Mare Street Market\",\n            \"seats\": \"50+\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£3.00\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 7,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipP_NbZH7A1fIQyp5pRm1jOGwzKsDWewaxka6vDt=s0\",\n            \"location\": \"Shoreditch\",\n            \"map_url\": \"https://g.page/acehotellondon?share\",\n            \"name\": \"Ace Hotel Shoreditch\",\n            \"seats\": \"50+\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.10\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 8,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipPnOfo7wTICdiAyybF3iFhD3l5aoQjSO-GErma1=s0\",\n            \"location\": \"Clerkenwell\",\n            \"map_url\": \"https://goo.gl/maps/D9nXNYK3fa1cxwpK8\",\n            \"name\": \"Goswell Road Coffee\",\n            \"seats\": \"10-20\"\n        },\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"£2.30\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 9,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipMrdTyRRozGBltwxAseQ4QeuNhbED6meQXlCPsx=s0\",\n            \"location\": \"London Bridge\",\n            \"map_url\": \"https://goo.gl/maps/LU1imQzBCRLFBxKUA\",\n            \"name\": \"The Southwark Cathedral Cafe\",\n            \"seats\": \"20-30\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.70\",\n            \"has_sockets\": false,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 10,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipNtHqqIc3kwhpjknrVcMdkhmpA77LDYKmpOJlxf=s0\",\n            \"location\": \"Whitechapel\",\n            \"map_url\": \"https://goo.gl/maps/v5tzRBVhPFueYp4x6\",\n            \"name\": \"Trade Commercial Road\",\n            \"seats\": \"20-30\"\n        },\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"£2.70\",\n            \"has_sockets\": false,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 11,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipOFimpFQmUORVGg0ER3lrfEiEnKpnYJck5guFqC=s0\",\n            \"location\": \"Bankside\",\n            \"map_url\": \"https://goo.gl/maps/6RvPHyhsDDUPs1ox8\",\n            \"name\": \"The Tate Modern Cafe\",\n            \"seats\": \"30-40\"\n        },\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"£2.50\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 12,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipPyJHFtVzxor4RyQrT-ZEk7ej7OxvmIQYZUHe6G=s0\",\n            \"location\": \"Clerkenwell\",\n            \"map_url\": \"https://goo.gl/maps/HC4e9FJL48kLRH8W9\",\n            \"name\": \"Forage Cafe\",\n            \"seats\": \"20-30\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.80\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 13,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipNJQIg-6YTOZhbLu12yGPN3klDxygs7cNAjEo0C=s0\",\n            \"location\": \"Shoreditch\",\n            \"map_url\": \"https://g.page/citizenm-london-shoreditch?share\",\n            \"name\": \"Citizen M Hotel Shoreditch\",\n            \"seats\": \"30-40\"\n        },\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"£3.00\",\n            \"has_sockets\": false,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 14,\n            \"img_url\": \"https://images.adsttc.com/media/images/5014/ec99/28ba/0d58/2800/0d0f/large_jpg/stringio.jpg?1414576924\",\n            \"location\": \"Barbican\",\n            \"map_url\": \"https://goo.gl/maps/XPrcFj91LsQBvUa27\",\n            \"name\": \"Barbican Centre\",\n            \"seats\": \"50+\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.60\",\n            \"has_sockets\": false,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 15,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipOL6jxxpE_D3YS-Zzih61DqNXJKvRIDFiP6ieUI=s0\",\n            \"location\": \"Clerkenwell\",\n            \"map_url\": \"https://goo.gl/maps/mwAG272nQwSUc9bn8\",\n            \"name\": \"The Slaughtered Lamb\",\n            \"seats\": \"20-30\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£1.80\",\n            \"has_sockets\": false,\n            \"has_toilet\": false,\n            \"has_wifi\": true,\n            \"id\": 16,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipOchpT9ipgb7tpqglcTKpp2E8kZhsKvlYjUZ4e1=s0\",\n            \"location\": \"South Kensington\",\n            \"map_url\": \"https://goo.gl/maps/GPFSEuGEiDvQG8BH7\",\n            \"name\": \"Fernandez and Wells Exhibition Road\",\n            \"seats\": \"10-20\"\n        },\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"£2.60\",\n            \"has_sockets\": true,\n            \"has_toilet\": false,\n            \"has_wifi\": true,\n            \"id\": 17,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipOZ3WDAAxphLu657afVVATJ5TGxtturIOr8gt8u=s0\",\n            \"location\": \"Whitechapel\",\n            \"map_url\": \"https://goo.gl/maps/xv29seioiETAAZgN9\",\n            \"name\": \"Whitechapel Grind\",\n            \"seats\": \"30-40\"\n        },\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"£2.60\",\n            \"has_sockets\": true,\n            \"has_toilet\": false,\n            \"has_wifi\": true,\n            \"id\": 18,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipOutkI7wjWNXiPSTdf8CX0jXwyVHFTwFnVhyVJE=s0\",\n            \"location\": \"Peckham\",\n            \"map_url\": \"https://goo.gl/maps/qpcpX7MWhFSS1qxH9\",\n            \"name\": \"The Peckham Pelican\",\n            \"seats\": \"0 - 10\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.00\",\n            \"has_sockets\": true,\n            \"has_toilet\": false,\n            \"has_wifi\": true,\n            \"id\": 19,\n            \"img_url\": \"https://www.nhm.ac.uk/content/dam/nhmwww/business-services/filming/Earth-Sciences-Library-1.jpg\",\n            \"location\": \"South Kensington\",\n            \"map_url\": \"https://goo.gl/maps/VU2PwnDDtH1WqCnK7\",\n            \"name\": \"Natural History Museum Library\",\n            \"seats\": \"40-50\"\n        },\n        {\n            \"can_take_calls\": false,\n            \"coffee_price\": \"£2.80\",\n            \"has_sockets\": true,\n            \"has_toilet\": false,\n            \"has_wifi\": true,\n            \"id\": 20,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipNlBWFgXBiP9YjKARy4dgjHGePOmtsfuQPRwGvb=s0\",\n            \"location\": \"Shoreditch\",\n            \"map_url\": \"https://goo.gl/maps/gYX271NxyuawiMcK8\",\n            \"name\": \"The Bike Shed\",\n            \"seats\": \"10-20\"\n        },\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"£2.40\",\n            \"has_sockets\": true,\n            \"has_toilet\": false,\n            \"has_wifi\": true,\n            \"id\": 21,\n            \"img_url\": \"https://lh3.googleusercontent.com/p/AF1QipOhkJk2MBtFW1RydPU0zf3bf8upGkTQWyhDpXzZ=s0\",\n            \"location\": \"Borough\",\n            \"map_url\": \"https://g.page/fora---borough?share\",\n            \"name\": \"FORA Borough\",\n            \"seats\": \"20-30\"\n        },\n        {\n            \"can_take_calls\": true,\n            \"coffee_price\": \"2.5\",\n            \"has_sockets\": true,\n            \"has_toilet\": true,\n            \"has_wifi\": true,\n            \"id\": 22,\n            \"img_url\": \"https://example.com/image.jpg\",\n            \"location\": \"someplace on earth\",\n            \"map_url\": \"hsr\",\n            \"name\": \"alibaba\",\n            \"seats\": \"20\"\n        }\n    ]\n}"}],"_postman_id":"65cfe626-10e5-47a5-a823-1b4f8f34c0a3"},{"name":"to update price","id":"50fece40-2263-462b-8b8c-ae686cb2b728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"alibaba","type":"text"},{"key":"map_url","value":"hsr","type":"text"},{"key":"img_url","value":"https://example.com/image.jpg","type":"text"},{"key":"loc","value":"someplace on earth","type":"text"},{"key":"seats","value":"20","type":"text"},{"key":"toilet","value":"0","type":"text"},{"key":"wifi","value":"0","type":"text"},{"key":"sockets","value":"0","type":"text"},{"key":"calls","value":"0","type":"text"},{"key":"coffee_price","value":"2.5","type":"text"}]},"url":"{{base_url}}/update-price/1?new_price=21","urlObject":{"path":["update-price","1"],"host":["{{base_url}}"],"query":[{"key":"new_price","value":"21"}],"variable":[]}},"response":[],"_postman_id":"50fece40-2263-462b-8b8c-ae686cb2b728"},{"name":"to delete a cafe","id":"36ea6034-ec80-40a0-983b-45b9551ab89e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/report-closed/5?api_key={{api_key}}\n","urlObject":{"path":["report-closed","5"],"host":["{{base_url}}"],"query":[{"key":"api_key","value":"{{api_key}}\n"}],"variable":[]}},"response":[],"_postman_id":"36ea6034-ec80-40a0-983b-45b9551ab89e"}],"event":[{"listen":"prerequest","script":{"id":"9bc05101-59cb-4387-8b86-600831687342","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"56d1d376-91fd-41c6-9126-fc7e0050cc1d","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"base_url\n","value":"https://cafe-wifi-api.onrender.com"}]}