{"info":{"_postman_id":"ecdd67f1-8fc7-49e7-8a5c-ecb1665d01a9","name":"FakeStore API","description":"<html><head></head><body><h1 id=\"getting-started\">🛫 Getting Started</h1>\n<p>Let's explore the <strong>Fake Store API Collection</strong>.</p>\n<p>This collection walks through how to send and document API requests, such as Products, Carts, Users, and Auth using <strong>Postman</strong>. It also contains simulations of errors (for example, <strong>400 Bad Request</strong> and <strong>404 Not Found</strong>), and how it responds.</p>\n<p>This API collection does <strong>not require authentication</strong>.</p>\n<hr>\n<h4 id=\"🧭-to-get-started\">🧭 To Get Started</h4>\n<ol>\n<li><p>Go to <a href=\"https://fakestoreapi.com/\">FakeStoreAPI</a> and click <strong>Read Docs</strong><br> Scroll down to the Products section in the sidebar.<br> There, click and copy the <code>GET</code> /products example endpoint <code>https://fakestoreapi.com/products</code> to send a <code>GET</code> request.</p>\n</li>\n<li><p>Send a <code>GET</code> request in <strong>Postman</strong><br> Open <strong>Collections</strong> &gt; <strong>Blank Collection</strong> &gt; <strong>Add Request</strong><br> In the request, paste the endpoint from <code>GET</code> /products and send the request using <code>GET</code> to retrieve all available products</p>\n</li>\n</ol>\n<hr>\n<h4 id=\"🗂️-overview-of-this-collection\">🗂️ Overview of this collection</h4>\n<ul>\n<li><p>Retrieve All Products, Create a New product, and Update a Product</p>\n</li>\n<li><p>Get All Carts and Add a New Cart</p>\n</li>\n<li><p>Returns All Users and Add a New User</p>\n</li>\n<li><p>Authenticating a User</p>\n</li>\n<li><p>Error handling and its <code>html</code> response (400 and 404)</p>\n</li>\n</ul>\n<p>This collection is a part of a user-friendly API writer portfolio project. Enjoy exploring and learning!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"🛫 Getting Started","slug":"getting-started"}],"owner":"43353117","collectionId":"ecdd67f1-8fc7-49e7-8a5c-ecb1665d01a9","publishedId":"2sB2j6AqrZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-05-18T13:17:31.000Z"},"item":[{"name":"🛍️ Products","item":[{"name":"📦 Get All Products","id":"64a61f61-9875-4b91-9888-df22f608fb68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://fakestoreapi.com/products","description":"<h1 id=\"this-endpoint-retrieves-all-available-products-using-get--it-does-not-require-authentication\">This endpoint retrieves all available products using <code>GET</code> . It does not require authentication.</h1>\n<hr />\n<p><strong>Endpoint:</strong><br /><code>https://fakestoreapi.com/products</code></p>\n<hr />\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">  {\n    \"id\": 0,\n    \"title\": \"string\",\n    \"price\": 0.1,\n    \"description\": \"string\",\n    \"category\": \"string\",\n    \"image\": \"http://example.com\"\n  }\n\n</code></pre>\n<hr />\n<p><strong>Field descriptions:</strong></p>\n<ul>\n<li><p><code>id</code>: A unique identifier for the product (integer).</p>\n</li>\n<li><p><code>title</code>: The name of the product (string).</p>\n</li>\n<li><p><code>price</code>: The price of the product (float).</p>\n</li>\n<li><p><code>description</code>: A brief description of the product (string).</p>\n</li>\n<li><p><code>category</code>: The product category (string).</p>\n</li>\n<li><p><code>image</code>: A URL to the product's image (string).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["products"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"64a61f61-9875-4b91-9888-df22f608fb68"},{"name":"➕🛍️ Add a New Product","id":"64710989-0dc5-4e4e-a9a1-83b7c09789d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 21,\r\n    \"title\": \"Casual Pants\",\r\n    \"price\": 320,\r\n    \"description\": \"Versatile Style: These stylish black trousers feature a subtle textured pattern, perfect for both casual and semi-formal occasions. It comes with a modern slim fit that remains relaxed enough for all-day wear. Crafted with attention to detail, these trousers showcase a clean-lined design with practical side pockets and a secure button closure at the waist.\",\r\n    \"category\": \"men's clothing\",\r\n    \"image\": \"https://g.co/kgs/W7xHE9V\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://fakestoreapi.com/products","description":"<h2 id=\"this-api-adds-a-new-product-with-the-json-payload-using-post--it-does-not-require-authentication\">This API adds a new product with the JSON payload using <code>POST</code> . It does not require authentication.</h2>\n<hr />\n<p><strong>Endpoint:</strong><code>https://fakestoreapi.com/products</code></p>\n<hr />\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 21,\n    \"title\": \"Casual Pants\",\n    \"price\": 320,\n    \"description\": \"Versatile Style: These stylish black trousers feature a subtle textured pattern, perfect for both casual and semi-formal occasions. It comes with a modern slim fit that remains relaxed enough for all-day wear. Crafted with attention to detail, these trousers showcase a clean-lined design with practical side pockets and a secure button closure at the waist.\",\n    \"category\": \"men's clothing\",\n    \"image\": \"https://g.co/kgs/W7xHE9V\"\n}\n\n</code></pre>\n<hr />\n<p><strong>Field descriptions:</strong></p>\n<ul>\n<li><p><code>id</code>: A unique identifier for the product (integer).</p>\n</li>\n<li><p><code>title</code>: The name of the product (string).</p>\n</li>\n<li><p><code>price</code>: The price of the product (float).</p>\n</li>\n<li><p><code>description</code>: A brief description of the product (string).</p>\n</li>\n<li><p><code>category</code>: The product category (string).</p>\n</li>\n<li><p><code>image</code>: A URL to the product's image (string).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["products"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"64710989-0dc5-4e4e-a9a1-83b7c09789d3"},{"name":"🛠️🛍️ Update a Product","id":"0751ff44-4318-4c08-ab0f-77e44fa1f1ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Updated Casual Pants\",\r\n    \"price\": 350,\r\n    \"description\": \"Now with improved fabric quality and better fit.\",\r\n    \"image\": \"https://example.com/updated-image.jpg\",\r\n    \"category\": \"men's clothing\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://fakestoreapi.com/products/7","description":"<h2 id=\"this-endpoint-updates-an-existing-product-with-a-json-payload-using-put--it-does-not-require-authentication\">This endpoint updates an existing product with a JSON payload using <code>PUT</code> . It does not require authentication.</h2>\n<hr />\n<p><strong>Endpoint:</strong> <code>https://fakestoreapi.com/products/7</code></p>\n<hr />\n<p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"title\": \"Updated Casual Pants\",\n    \"price\": 350,\n    \"description\": \"Now with improved fabric quality and better fit.\",\n    \"image\": \"https://example.com/updated-image.jpg\",\n    \"category\": \"men's clothing\"\n}\n\n</code></pre>\n<hr />\n<p><strong>Field descriptions:</strong></p>\n<ul>\n<li><p><code>id</code>: A unique identifier for the product (integer).</p>\n</li>\n<li><p><code>title</code>: The name of the product (string).</p>\n</li>\n<li><p><code>price</code>: The price of the product (float).</p>\n</li>\n<li><p><code>description</code>: A brief description of the product (string).</p>\n</li>\n<li><p><code>category</code>: The product category (string).</p>\n</li>\n<li><p><code>image</code>: A URL to the product's image (string).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["products","7"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0751ff44-4318-4c08-ab0f-77e44fa1f1ab"}],"id":"bc4fcb20-888c-4a95-ad83-6c58a34fad50","description":"<p>Contains the API requests to retrieve all products using <code>GET</code>, to add a new product using<code>POST</code>, and to update an existing product using <code>PUT</code></p>\n","_postman_id":"bc4fcb20-888c-4a95-ad83-6c58a34fad50"},{"name":"🧺 Carts","item":[{"name":"📋 Get All Carts","id":"41bfb062-a906-49ee-b2c0-0a2d6e36ec40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://fakestoreapi.com/carts","description":"<h2 id=\"this-endpoint-retrieves-all-available-carts-using-get-it-does-not-require-authentication\">This endpoint retrieves all available carts using <code>GET</code>. It does not require authentication.</h2>\n<hr />\n<p><strong>Endpoint:</strong><code>https://fakestoreapi.com/carts</code></p>\n<hr />\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"id\": 1,\n   \"userId\": 1,\n   \"date\": \"2020-03-02T00:00:00.000Z\",\n   \"products\": \n      {\n         \"productId\": 1,\n         \"quantity\": 4\n      },\n      {\n          \"productId\": 2,\n          \"quantity\": 1\n      }\n}\n\n</code></pre>\n<hr />\n<p><strong>Field descriptions:</strong></p>\n<ul>\n<li><p><code>id</code>: A unique identifier for the product (integer).</p>\n</li>\n<li><p><code>userId</code>: A unique identifier for the user (integer).</p>\n</li>\n<li><p><code>date</code>: The date the cart was created (iso 8601 string).</p>\n</li>\n<li><p><code>product</code>: A list of products in the cart (array of objects).</p>\n</li>\n<li><p><code>productId</code>: The id of the product (integer).</p>\n</li>\n<li><p><code>quantity</code>: The number of units of the product (integer).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["carts"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"41bfb062-a906-49ee-b2c0-0a2d6e36ec40"},{"name":"🛒➕ Add a New Cart","id":"40fbd3e3-baf2-411a-9738-fdb7eebb8316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\": 1,\r\n    \"date\": \"2020-03-02\",\r\n    \"products\": [\r\n        {\r\n            \"productId\": 1,\r\n            \"quantity\": 4\r\n        },\r\n        {\r\n            \"productId\": 2,\r\n            \"quantity\": 1\r\n        },\r\n        {\r\n            \"productId\": 3,\r\n            \"quantity\": 6\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://fakestoreapi.com/carts","description":"<h2 id=\"this-endpoint-adds-a-new-cart-with-a-json-payload-using-post-it-does-not-require-authentication\">This endpoint adds a new cart with a JSON payload using <code>POST.</code> It does not require authentication.</h2>\n<hr />\n<p><strong>Endpoint:</strong><code>https://fakestoreapi.com/carts</code></p>\n<hr />\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": 1,\n    \"date\": \"2020-03-02\",\n    \"products\": [\n        {\n            \"productId\": 1,\n            \"quantity\": 4\n        },\n        {\n            \"productId\": 2,\n            \"quantity\": 1\n        },\n        {\n            \"productId\": 3,\n            \"quantity\": 6\n        }\n    ]\n}\n\n</code></pre>\n<hr />\n<p><strong>Field descriptions:</strong></p>\n<ul>\n<li><p><code>userId</code>: A unique identifier for the user (integer).</p>\n</li>\n<li><p><code>date</code>: The date the cart was created (iso 8601 string).</p>\n</li>\n<li><p><code>product</code>: A list of products in the cart (array of objects).</p>\n</li>\n<li><p><code>productId</code>: The id of the product (integer).</p>\n</li>\n<li><p><code>quantity</code>: The number of units of the product (integer).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["carts"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"40fbd3e3-baf2-411a-9738-fdb7eebb8316"}],"id":"684d80db-c9fd-4783-983f-9c56c2bde316","description":"<p>Contains the API requests to retrieve all carts using <code>GET</code> and to add a new cart using <code>POST</code></p>\n","_postman_id":"684d80db-c9fd-4783-983f-9c56c2bde316"},{"name":"👥 Users","item":[{"name":"📃 Get All Users","id":"b6750dfa-79c4-4ec9-b859-92acdca976ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://fakestoreapi.com/users","description":"<h2 id=\"this-api-retrieves-all-users-using-get-it-does-not-require-authentication\">This API retrieves all users using <code>GET</code>. It does not require authentication</h2>\n<hr />\n<p><strong>Endpoint:</strong> <code>https://fakestoreapi.com/users</code></p>\n<hr />\n<h2 id=\"example\"><strong>Example</strong></h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"address\": {\n      \"geolocation\": {\n        \"lat\": \"-37.3159\",\n        \"long\": \"81.1496\"\n      },\n      \"city\": \"kilcoole\",\n      \"street\": \"new road\",\n      \"number\": 7682,\n      \"zipcode\": \"12926-3874\"\n    },\n    \"id\": 1,\n    \"email\": \"john@gmail.com\",\n    \"username\": \"johnd\",\n    \"password\": \"m38rmF$\",\n    \"name\": {\n      \"firstname\": \"john\",\n      \"lastname\": \"doe\"\n    },\n    \"phone\": \"1-570-236-7033\",\n    \"__v\": 0\n  }\n]\n\n</code></pre>\n<hr />\n<p><strong>Field descriptions</strong></p>\n<p><strong>Top-level fields</strong></p>\n<ul>\n<li><p><code>id</code>: A unique identifier assigned to each user (integer)</p>\n</li>\n<li><p><code>email</code>: A unique email address of the user (string)</p>\n</li>\n<li><p><code>username</code>: A login name of the user (string)</p>\n</li>\n<li><p><code>password</code>: A sequence of characters used to verify a user's identity (string)</p>\n</li>\n<li><p><code>name</code>: An object containing the user's <code>firstname</code> and <code>lastname</code> (object)</p>\n</li>\n<li><p><code>address</code>: An object containing address information and geolocation data (object)</p>\n</li>\n<li><p><code>phone</code>: Contact number of the user (string)</p>\n</li>\n<li><p><code>__v</code>: A versioning field added by the system. You don't need to include it in the payload.</p>\n</li>\n</ul>\n<p><strong>Nested fields</strong></p>\n<p><code>name</code> (object)</p>\n<ul>\n<li><p><code>firstname</code>: A given name of the user (string)</p>\n</li>\n<li><p><code>lastname</code>: A surname of the user (string)</p>\n</li>\n</ul>\n<p><code>address</code> (object)</p>\n<ul>\n<li><p><code>city</code>: A location of the user (string)</p>\n</li>\n<li><p><code>street</code>: A street of the user (string)</p>\n</li>\n<li><p><code>number</code>: A house number of the user (integer)</p>\n</li>\n<li><p><code>zipcode</code>: A postal code of the user (string)</p>\n</li>\n<li><p><code>geolocation</code>: An object that contains the user's geographic coordinates.</p>\n</li>\n</ul>\n<p><code>geolocation</code> (object)</p>\n<ul>\n<li><p><code>lat</code>: A geographic coordinate that specifies the north-south position of a location (string)</p>\n</li>\n<li><p><code>long</code>: A geographic coordinate that specifies the east-west position of a location (string)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["users"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6750dfa-79c4-4ec9-b859-92acdca976ad"},{"name":"👤➕ Add a New User","id":"6df5806f-fedf-4e2d-a523-7f7cc8477201","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"John@gmail.com\",\r\n    \"username\": \"john\",\r\n    \"password\": \"m38rmF$\",\r\n    \"name\": {\r\n        \"firstname\": \"John\",\r\n        \"lastname\": \"Doe\"\r\n    },\r\n    \"address\": {\r\n        \"city\": \"kilcoole\",\r\n        \"street\": \"7835 new road\",\r\n        \"number\": 3,\r\n        \"zipcode\": \"12926-3874\",\r\n        \"geolocation\": {\r\n            \"lat\": \"-37.3159\",\r\n            \"long\": \"81.1496\"\r\n        }\r\n    },\r\n    \"phone\": \"1-570-236-7033\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://fakestoreapi.com/users","description":"<h2 id=\"this-api-creates-a-new-user-with-a-json-payload-using-post-it-does-not-require-authentication\">This API creates a new user with a JSON payload using <code>POST</code>. It does not require authentication.</h2>\n<hr />\n<p><strong>Endpoint:</strong> <code>https://fakestoreapi.com/users</code></p>\n<hr />\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"email\": \"John@gmail.com\",\n    \"username\": \"john\",\n    \"password\": \"m38rmF$\",\n    \"name\": {\n        \"firstname\": \"John\",\n        \"lastname\": \"Doe\"\n    },\n    \"address\": {\n        \"city\": \"kilcoole\",\n        \"street\": \"7835 new road\",\n        \"number\": 3,\n        \"zipcode\": \"12926-3874\",\n        \"geolocation\": {\n            \"lat\": \"-37.3159\",\n            \"long\": \"81.1496\"\n        }\n    },\n    \"phone\": \"1-570-236-7033\"\n}\n\n</code></pre>\n<hr />\n<p><strong>Field descriptions</strong></p>\n<p><strong>Top-level fields</strong></p>\n<ul>\n<li><p><code>email</code>: A unique email address of the user (string)</p>\n</li>\n<li><p><code>username</code>: A login name of the user (string)</p>\n</li>\n<li><p><code>password</code>: A sequence of characters used to verify a user's identity (string)</p>\n</li>\n<li><p><code>name</code>: An object containing the user's <code>firstname</code> and <code>lastname</code> (object)</p>\n</li>\n<li><p><code>address</code>: An object containing address information and geolocation data (object)</p>\n</li>\n<li><p><code>phone</code>: Contact number of the user (string)</p>\n</li>\n</ul>\n<p><strong>Nested fields</strong></p>\n<p><code>name</code> (object)</p>\n<ul>\n<li><p><code>firstname</code>: A given name of the user (string)</p>\n</li>\n<li><p><code>lastname</code>: A surname of the user (string)</p>\n</li>\n</ul>\n<p><code>address</code> (object)</p>\n<ul>\n<li><p><code>city</code>: A location of the user (string)</p>\n</li>\n<li><p><code>street</code>: A street of the user (string)</p>\n</li>\n<li><p><code>number</code>: A house number of the user (integer)</p>\n</li>\n<li><p><code>zipcode</code>: A postal code of the user (string)</p>\n</li>\n<li><p><code>geolocation</code>: An object that contains the user's geographic coordinates (object)</p>\n</li>\n</ul>\n<p><code>geolocation</code> (object)</p>\n<ul>\n<li><p><code>lat</code>: A geographic coordinate that specifies the north-south position of a location (string)</p>\n</li>\n<li><p><code>long</code>: A geographic coordinate that specifies the east-west position of a location (string)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["users"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6df5806f-fedf-4e2d-a523-7f7cc8477201"}],"id":"eaea6971-46a2-406d-b5a2-11926f4204c4","description":"<p>Contains the API requests to retrieve all users using <code>GET</code> and create a user using <code>POST</code></p>\n","_postman_id":"eaea6971-46a2-406d-b5a2-11926f4204c4"},{"name":"🔐 Auth","item":[{"name":"✅🔑 Authenticate a User","id":"8342db70-0063-4103-888d-a6343f767605","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"johnd\",\r\n    \"password\": \"m38rmF$\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://fakestoreapi.com/auth/login","description":"<h2 id=\"this-api-authenticates-a-user-with-a-json-payload-using-post\">This API Authenticates a user with a JSON payload using <code>POST</code></h2>\n<hr />\n<p><strong>Endpoint:</strong> <code>https://fakestoreapi.com/auth/login</code></p>\n<hr />\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"username\": \"johnd\",\n  \"password\": \"m38rmF$\"\n}\n\n</code></pre>\n<hr />\n<p><strong>Field descriptions</strong></p>\n<ul>\n<li><p><code>username</code>: A login name of the user (string)</p>\n</li>\n<li><p><code>password</code>: A sequence of characters which verifies the user's identity (string)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["auth","login"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8342db70-0063-4103-888d-a6343f767605"}],"id":"8809d345-5f7a-41d1-adaf-38b91cab9b15","description":"<p>Contains the API request to authenticate a user using <code>POST</code></p>\n","_postman_id":"8809d345-5f7a-41d1-adaf-38b91cab9b15"},{"name":"🚧 Error handing","item":[{"name":"⚠️ 400 Bad Request","id":"cf3c52c9-d11d-4790-bd8d-18369169e26f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"John@gmail.com\",\r\n    \"username\": \"john\",\r\n    \"password\": \"m38rmF$\",\r\n    \"name\": {\r\n        \"firstname\": \"John\",\r\n        \"lastname\": \"Doe\"\r\n    },\r\n    \"address\": {\r\n        \"city\": \"kilcoole\",\r\n        \"street\": \"7835 new road\",\r\n        \"number\": three,\r\n        \"zipcode\": \"12926-3874\",\r\n        \"geolocation\": {\r\n            \"lat\": \"-37.3159\",\r\n            \"long\": \"81.1496\"\r\n        }\r\n    },\r\n    \"phone\": \"1-570-236-7033\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://fakestoreapi.com/users","description":"<h2 id=\"json-payload-with-an-invalid-fieldnumber-three-will-respond-with-an-html-error\">JSON payload with an invalid field<code>(\"number\": three)</code> will respond with an HTML error</h2>\n<hr />\n<p><strong>Endpoint:</strong> <code>https://fakestoreapi.com/users</code></p>\n<hr />\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-html\">&lt;html lang=\"en\"&gt;\n&lt;head&gt;\n    &lt;meta charset=\"utf-8\"&gt;\n    &lt;title&gt;Error&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n    &lt;pre class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;Bad Request&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["users"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf3c52c9-d11d-4790-bd8d-18369169e26f"},{"name":"❓ 404 Not Found","id":"f964e88b-272c-46e1-82ce-33be0fa0f6cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://fakestoreapi.com/usert","description":"<h2 id=\"api-request-with-an-invalid-endpoint-usert-will-respond-with-an-html-error\">API request with an invalid endpoint <code>/usert</code> will respond with an HTML error</h2>\n<hr />\n<h2 id=\"endpoint-httpsfakestoreapicomusert\"><strong>Endpoint:</strong> <code>https://fakestoreapi.com/usert</code></h2>\n<hr />\n<p><strong>Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-html\">&lt;html lang=\"en\"&gt;\n&lt;head&gt;\n&lt;meta charset=\"utf-8\"&gt;\n&lt;title&gt;Error&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;pre class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27; class=&amp;#x27;preserveHtml&amp;#x27;&gt;Cannot GET /usert&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["usert"],"host":["fakestoreapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f964e88b-272c-46e1-82ce-33be0fa0f6cf"}],"id":"f71d47fa-9cbd-4db4-ade6-63c2460412e5","description":"<p>Explains the API's response to invalid input, such as invalid endpoint and invalid field.</p>\n","_postman_id":"f71d47fa-9cbd-4db4-ade6-63c2460412e5"}]}