{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "http:\/\/localhost"
        }
    ],
    "info": {
        "name": "CaratX",
        "_postman_id": "9fda5715-530f-42cb-a90c-6bfbb14590c9",
        "description": "",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Endpoints",
            "description": "",
            "item": [
                {
                    "name": "GET api\/user",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/user",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/user"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                },
                                {
                                    "key": "set-cookie",
                                    "value": "caratx_session=NBSZCBdyKlsEydVcHfMs57GcvsPZTW09idyHVEsq; expires=Thu, 12-Jan-2023 07:35:57 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/categories-subcategories",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/categories-subcategories",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/categories-subcategories"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "60"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "59"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                },
                                {
                                    "key": "set-cookie",
                                    "value": "caratx_session=O0iYSILny4cLUQ8Dyszy7Bh19arM2POlHNN2Jhb4; expires=Thu, 12-Jan-2023 07:35:57 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"
                                }
                            ],
                            "code": 400,
                            "body": "{\"error\":true,\"message\":\"Please add api-key in request header.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/product-categories",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/product-categories",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/product-categories"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "60"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "58"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                },
                                {
                                    "key": "set-cookie",
                                    "value": "caratx_session=nEGs1BOSupY46vFWuIUZW48NRlDvj1JSufMRlyF2; expires=Thu, 12-Jan-2023 07:35:57 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"
                                }
                            ],
                            "code": 400,
                            "body": "{\"error\":true,\"message\":\"Please add api-key in request header.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/search-products-by-name",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/search-products-by-name",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/search-products-by-name"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "60"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "57"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                },
                                {
                                    "key": "set-cookie",
                                    "value": "caratx_session=YZIszxZup0nGRebWdxyoL2ooAJSafqYY5quRozbD; expires=Thu, 12-Jan-2023 07:35:57 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"
                                }
                            ],
                            "code": 400,
                            "body": "{\"error\":true,\"message\":\"Please add api-key in request header.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/filter-products",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/filter-products",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/filter-products"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "60"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "56"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                },
                                {
                                    "key": "set-cookie",
                                    "value": "caratx_session=nsXlw60EHTFNEunvf9jft70dfdBV85etSnDpYkit; expires=Thu, 12-Jan-2023 07:35:57 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"
                                }
                            ],
                            "code": 400,
                            "body": "{\"error\":true,\"message\":\"Please add api-key in request header.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/add-to-cart",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/add-to-cart",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/add-to-cart"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "GET api\/view-cart",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/view-cart",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/view-cart"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "60"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "55"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                },
                                {
                                    "key": "set-cookie",
                                    "value": "caratx_session=snmI4xzKzAZijYW5PLnnOj689b5Vx5PfTyG29P28; expires=Thu, 12-Jan-2023 07:35:57 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"
                                }
                            ],
                            "code": 400,
                            "body": "{\"error\":true,\"message\":\"Please add api-key in request header.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/remove-from-cart",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/remove-from-cart",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/remove-from-cart"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "GET api\/clear-cart",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/clear-cart",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/clear-cart"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "60"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "54"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                },
                                {
                                    "key": "set-cookie",
                                    "value": "caratx_session=gnHpC4AqKp4gcaZgBPuubu0eVwIparwBaYcEh6xP; expires=Thu, 12-Jan-2023 07:35:57 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"
                                }
                            ],
                            "code": 400,
                            "body": "{\"error\":true,\"message\":\"Please add api-key in request header.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "noauth"
    }
}