{"info":{"_postman_id":"90094909-e189-4066-8832-4971e37c8cdc","name":"wesulloc","description":"<html><head></head><body><blockquote>\n<p>Wecode 1차 프로젝트</p>\n</blockquote>\n<p>오설록 웹페이지 클론 코딩관련 API</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21014545","collectionId":"90094909-e189-4066-8832-4971e37c8cdc","publishedId":"Uz5JFa5h","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-06-06T04:36:43.000Z"},"item":[{"name":"[POST] SignUp","id":"2d790501-eb39-4707-9df8-b103b44ba7e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_name\":\"홍길동\",\n    \"user_password\" : \"hong112!@\",\n    \"user_account\" : \"hong112\",\n    \"user_contact\" : \"010-1343-5678\",\n    \"user_birth\" : \"1995-08-01\",\n    \"user_email\" : \"cmcooe@naver.com\",\n    \"user_terms_agreements\" : \"{ 개인정보 제공동의 : true}\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/user/signup","description":"<h4 id=\"유효성-검사\">유효성 검사</h4>\n<ul>\n<li>아이디 : 영문 대소문자 시작 + 영문 숫자로 구성된 아이디만 허용 (4자~12자)</li>\n<li>비밀번호 : 영문 대소문자, 숫자, 특수문자가 포함된 비밀번호만 허용 (8자~16자)</li>\n<li>생년월일 : 네자리 숫자(19xx, 20xx)-두자리 숫자(01~12)-두자리 숫자(01~12) ex) 1990-08-01</li>\n<li>연락처 : 동일한 연락처 사용 불가</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a006f873-e441-404b-bc93-84c386413370","name":"Sign Up API","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_name\":\"홍길동\",\n    \"user_password\" : \"hong112!@\",\n    \"user_account\" : \"hong112\",\n    \"user_contact\" : \"010-1343-5678\",\n    \"user_birth\" : \"1995-08-01\",\n    \"user_email\" : \"cmcooe@naver.com\",\n    \"user_terms_agreements\" : \"{ 개인정보 제공동의 : true}\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/user/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:30:06 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"22"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"SUCCESS\"\n}"}],"_postman_id":"2d790501-eb39-4707-9df8-b103b44ba7e0"},{"name":"[POST] SignIn","id":"ced0ec4b-03eb-4da2-8372-b0c790a375ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_account\" : \"hong112\",\n    \"user_password\" : \"hong112!@\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/user/login","description":"<h4 id=\"로그인-성공-조건\">로그인 성공 조건</h4>\n<ul>\n<li>user_account 일치</li>\n<li>user_password 일치</li>\n<li>성공 시 TOKEN 발급</li>\n</ul>\n<h4 id=\"로그인-실패\">로그인 실패</h4>\n<ul>\n<li>user_account 불일치</li>\n<li>user_password 불일치</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["user","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d3335abc-d373-4e6c-97e9-df557d786e0a","name":"Sign In API","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_account\" : \"hong112\",\n    \"user_password\" : \"hong112!@\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:34:16 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"137"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"SUCCESS\",\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTAxfQ.82ftj8OY8KLTmpnL3WsUheFmyNsTTBs5iPWb8RESvoI\"\n}"}],"_postman_id":"ced0ec4b-03eb-4da2-8372-b0c790a375ff"},{"name":"[GET] Product List View","id":"b6df6b64-3029-4378-9b5d-672b38f7edae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products?menu=1&main_category=2&category=4&sort=price_desc","description":"<h4 id=\"상품-리스트-제공\">상품 리스트 제공</h4>\n<ul>\n<li>메뉴, 메인카테고리, 서브카테고리 별 상품 리스트 제공</li>\n</ul>\n<hr />\n<h4 id=\"필터링\">필터링</h4>\n<ul>\n<li>정렬(Sort)<ul>\n<li>리뷰 순</li>\n<li>판매량 순</li>\n<li>신상품</li>\n<li>낮은 가격 순</li>\n<li>높은 가격 순</li>\n</ul>\n</li>\n</ul>\n<hr />\n<h4 id=\"조회-데이터\">조회 데이터</h4>\n<ul>\n<li>id : 상품 아이디</li>\n<li>name : 상품 이름</li>\n<li>price : 상품 가격</li>\n<li>discout_rate : 상품 할인률</li>\n<li>novel : 신상품 여부(Boolean)</li>\n<li>sale_or_not : 상품 할인 여부(Boolean)</li>\n<li>img_url : 상품 이미지 url</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["products"],"host":["localhost"],"query":[{"key":"menu","value":"1"},{"key":"main_category","value":"2"},{"key":"category","value":"4"},{"key":"sort","value":"price_desc"}],"variable":[]}},"response":[{"id":"cec10bd0-7da9-4a62-887f-7bf66918a2a3","name":"Product List API","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/products?menu=1&main_category=2&category=4&sort=price_desc","protocol":"http","host":["localhost"],"port":"8000","path":["products"],"query":[{"key":"menu","value":"1"},{"key":"main_category","value":"2"},{"key":"category","value":"4"},{"key":"sort","value":"price_desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:36:46 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"924"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": 9,\n            \"name\": \"일로향 60g\",\n            \"price\": \"170000\",\n            \"discount_rate\": \"0\",\n            \"novel\": false,\n            \"sale_or_not\": false,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/4cfaa669-2a2e-42a6-afba-ea342587364e/image.png\",\n                \"https://i.pinimg.com/736x/e4/98/7f/e4987f8110b8e90e5bdd4f3f9f85d056.jpg\"\n            ]\n        },\n        {\n            \"id\": 10,\n            \"name\": \"홍우전 60g\",\n            \"price\": \"90000\",\n            \"discount_rate\": \"0\",\n            \"novel\": false,\n            \"sale_or_not\": false,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/36236b99-de98-4044-9b5e-d19ce9990332/image.png\",\n                \"https://i.pinimg.com/736x/76/8c/2a/768c2a69d31630fce125ddc7aef68709.jpg\"\n            ]\n        },\n        {\n            \"id\": 8,\n            \"name\": \"우전 60g\",\n            \"price\": \"70000\",\n            \"discount_rate\": \"0\",\n            \"novel\": false,\n            \"sale_or_not\": false,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/429f14a6-af8f-42ee-bd21-e63938a87146/image.png\",\n                \"https://i.pinimg.com/736x/83/3e/12/833e12b3d076fce418734e9a6dbe05f8.jpg\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"b6df6b64-3029-4378-9b5d-672b38f7edae"},{"name":"[GET] Product Search","id":"ecf9c9b7-3467-4c2c-a8cb-a75cd67ae451","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/products?search=루이보스","description":"<h4 id=\"검색\">검색</h4>\n<ul>\n<li>상품 이름에 포함된 단어를 검색 시 상품 추출</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["products"],"host":["localhost"],"query":[{"key":"search","value":"루이보스"}],"variable":[]}},"response":[{"id":"3a6dc166-4632-4ce2-91d1-09cabc18bc7d","name":"Product Search API","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8000/products?search=루이보스","protocol":"http","host":["localhost"],"port":"8000","path":["products"],"query":[{"key":"search","value":"루이보스"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:45:12 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"690"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": 22,\n            \"name\": \"루이보스 카라멜베리\",\n            \"price\": \"15000\",\n            \"discount_rate\": \"0\",\n            \"novel\": true,\n            \"sale_or_not\": false,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/2518ca1b-3029-47f4-8c36-b58feaff8adf/image.png\",\n                \"https://i.pinimg.com/736x/fc/ff/4d/fcff4d7c25b8f6d8d8187521e64ee4cf.jpg\"\n            ]\n        },\n        {\n            \"id\": 20,\n            \"name\": \"스윗 베리 루이보스티\",\n            \"price\": \"9500\",\n            \"discount_rate\": \"10\",\n            \"novel\": false,\n            \"sale_or_not\": true,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/36236b99-de98-4044-9b5e-d19ce9990332/image.png\",\n                \"https://i.pinimg.com/474x/29/c1/23/29c123b447350a2df01f88b138a987d6.jpg\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"ecf9c9b7-3467-4c2c-a8cb-a75cd67ae451"},{"name":"[GET] Product Detail View","id":"b662bc9d-e7e6-45f5-9360-2955343fcffb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\" : 1,\n    \"quantity\" : 2\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products/21","description":"<h4 id=\"상품-세부-페이지\">상품 세부 페이지</h4>\n<ul>\n<li>url target으로 들어오는 product_id를 받아서 해당하는 상품 데이터를 return</li>\n<li>존재하지 않는 상품 id를 request하면 DoesNotExist 에러를 반환</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["products","21"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4ec2f7a3-d0ed-443e-8ae5-166b066d9552","name":"Product Detail API","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\" : 1,\n    \"quantity\" : 2\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products/21"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:38:46 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"428"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": {\n        \"id\": 21,\n        \"img\": \"https://velog.velcdn.com/images/ka0son/post/b73b9651-7d36-4221-938d-fd6837c9f5f7/image.png\",\n        \"name\": \"모로칸 민트티\",\n        \"price\": \"15000\",\n        \"salePercent\": \"20\",\n        \"novel\": true,\n        \"sale\": true,\n        \"description\": \"기분좋은 상쾌함을 선사하는 허브차\",\n        \"subCategory\": \"허브티\",\n        \"mainCategory\": \"티제품\"\n    }\n}"}],"_postman_id":"b662bc9d-e7e6-45f5-9360-2955343fcffb"},{"name":"[GET] Product Recommendation View","id":"8d8b8e72-b374-44cb-8d16-d18960f60a47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\" : 1,\n    \"quantity\" : 2\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products/recommendation","description":"<h4 id=\"추천-상품-리스트-제공\">추천 상품 리스트 제공</h4>\n<ul>\n<li>4가지 상품을 랜덤으로 제공</li>\n<li>아이디, 이미지, 상품이름, 상품 가격 제공</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["products","recommendation"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"31dbbb07-2964-4192-83ed-de1104152949","name":"Product Recommendation API","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\" : 1,\n    \"quantity\" : 2\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products/recommendation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:39:50 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"1038"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": 14,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/3bc39336-ade0-4b83-b3a7-f3f64266bbeb/image.png\",\n                \"https://i.pinimg.com/736x/fd/a2/a4/fda2a4296652f0b63c9f7b1b6edeb884.jpg\"\n            ],\n            \"name\": \"제주숲홍차 80g\",\n            \"price\": \"40000\"\n        },\n        {\n            \"id\": 15,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/3b39b30b-2bab-45ae-8243-d14f704f6501/image.png\",\n                \"https://i.pinimg.com/564x/5c/30/9b/5c309b148aabaf0fd571f7b16c4c70e5.jpg\"\n            ],\n            \"name\": \"제주 화산우롱차\",\n            \"price\": \"9500\"\n        },\n        {\n            \"id\": 18,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/429f14a6-af8f-42ee-bd21-e63938a87146/image.png\",\n                \"https://i.pinimg.com/564x/5c/a6/de/5ca6dec1d259163df8a144b491c5ba17.jpg\"\n            ],\n            \"name\": \"삼다 꿀배 티\",\n            \"price\": \"9500\"\n        },\n        {\n            \"id\": 10,\n            \"img_url\": [\n                \"https://velog.velcdn.com/images/ka0son/post/36236b99-de98-4044-9b5e-d19ce9990332/image.png\",\n                \"https://i.pinimg.com/736x/76/8c/2a/768c2a69d31630fce125ddc7aef68709.jpg\"\n            ],\n            \"name\": \"홍우전 60g\",\n            \"price\": \"90000\"\n        }\n    ]\n}"}],"_postman_id":"8d8b8e72-b374-44cb-8d16-d18960f60a47"},{"name":"[POST] CART View","id":"80d04ea1-013c-468a-b862-3112e4f76e50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\" : 21,\n    \"quantity\" : 5\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/carts","description":"<ul>\n<li>장바구니 API의 모든 Method(Get, Post, Patch, Delete)의 헤더에는 로그인 성공 시 발급받은 토큰의 정보가 항상 담겨있어야함.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["carts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"55760e05-8633-4725-a469-55e693d5f23b","name":"Cart API (생성)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\" : 21,\n    \"quantity\" : 5\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/carts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:41:48 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"22"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"SUCCESS\"\n}"}],"_postman_id":"80d04ea1-013c-468a-b862-3112e4f76e50"},{"name":"[GET] CART View","id":"aea01aed-e049-45f9-b3fa-91e4a97eac7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/carts","description":"<ul>\n<li>장바구니 API의 모든 Method(Get, Post, Patch, Delete)의 헤더에는 로그인 성공 시 발급받은 토큰의 정보가 항상 담겨있어야함.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["carts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"db99537a-d316-4370-a787-6e1cd7ed401c","name":"Cart API (조회)","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTAxfQ.82ftj8OY8KLTmpnL3WsUheFmyNsTTBs5iPWb8RESvoI","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/carts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:46:38 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"263"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"user_id\": 101,\n            \"cart_id\": 72,\n            \"product_id\": 21,\n            \"product_name\": \"모로칸 민트티\",\n            \"product_img\": \"https://velog.velcdn.com/images/ka0son/post/b73b9651-7d36-4221-938d-fd6837c9f5f7/image.png\",\n            \"price\": \"15000\",\n            \"quantity\": 5\n        }\n    ]\n}"}],"_postman_id":"aea01aed-e049-45f9-b3fa-91e4a97eac7b"},{"name":"[PATCH] CART View","id":"d06c8235-ee08-41f6-89ea-b20aa2e95e85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\" : 10\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/carts/72","description":"<ul>\n<li>장바구니 API의 모든 Method(Get, Post, Patch, Delete)의 헤더에는 로그인 성공 시 발급받은 토큰의 정보가 항상 담겨있어야함.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["carts","72"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0fc5cfd3-87c2-496f-b0b6-8f6f7a7dcac5","name":"Cart API (수량 변경 및 수정)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\" : 10\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/carts/72"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:48:03 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"22"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"SUCCESS\"\n}"}],"_postman_id":"d06c8235-ee08-41f6-89ea-b20aa2e95e85"},{"name":"[DELETE] CART View","id":"a78a0c26-8cab-4022-a6d2-06ade9147617","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/carts?cart_id=72","description":"<ul>\n<li>장바구니 API의 모든 Method(Get, Post, Patch, Delete)의 헤더에는 로그인 성공 시 발급받은 토큰의 정보가 항상 담겨있어야함.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["carts"],"host":["localhost"],"query":[{"key":"cart_id","value":"72"}],"variable":[]}},"response":[{"id":"8e6fa9ce-c4e8-423b-8869-abe22eca3956","name":"Cart API (삭제)","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8000/carts?cart_id=72","protocol":"http","host":["localhost"],"port":"8000","path":["carts"],"query":[{"key":"cart_id","value":"72"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:49:24 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"22"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"SUCCESS\"\n}"}],"_postman_id":"a78a0c26-8cab-4022-a6d2-06ade9147617"},{"name":"[POST] Reviews","id":"1f4ef808-68d8-4cee-b7f5-352d0382e64d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"rating\" : \"5.0\",\n    \"content\" : \"12번 제품에 대한 유저 83의 5번째 리뷰입니다.\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products/12/reviews","urlObject":{"protocol":"http","port":"8000","path":["products","12","reviews"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0aeb2001-e6e0-44cb-a03d-e42284b19f10","name":"Review API (생성)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"rating\" : \"5.0\",\n    \"content\" : \"21번 제품에 대한 101번 유저의 1번째 리뷰입니다.\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products/21/reviews"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:50:27 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"22"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"SUCCESS\"\n}"}],"_postman_id":"1f4ef808-68d8-4cee-b7f5-352d0382e64d"},{"name":"[GET] Reviews","id":"b659da7a-cf26-40e3-94e6-f46371d6ba7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products/21/reviews","urlObject":{"protocol":"http","port":"8000","path":["products","21","reviews"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"08c534ac-08c6-4114-95e1-a0993542e8d0","name":"Review API (조회)","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/products/21/reviews"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:51:25 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"700"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalReviews\": 3,\n    \"averageRating\": 3,\n    \"reviews\": [\n        {\n            \"reviewId\": 112,\n            \"productId\": 21,\n            \"account\": \"jhwang0801\",\n            \"content\": \"딸기시럽약 먹는 느낌임 냄새도 딱 그 냄새 먹고 토할뻔\",\n            \"rating\": \"1.0\",\n            \"date\": \"2022-06-02\"\n        },\n        {\n            \"reviewId\": 113,\n            \"productId\": 21,\n            \"account\": \"jhwang0801\",\n            \"content\": \"애용하는 차입니다\",\n            \"rating\": \"3.0\",\n            \"date\": \"2022-06-02\"\n        },\n        {\n            \"reviewId\": 137,\n            \"productId\": 21,\n            \"account\": \"hong112\",\n            \"content\": \"21번 제품에 대한 101번 유저의 1번째 리뷰입니다.\",\n            \"rating\": \"5.0\",\n            \"date\": \"2022-06-06\"\n        }\n    ]\n}"}],"_postman_id":"b659da7a-cf26-40e3-94e6-f46371d6ba7c"},{"name":"[DELETE] Reviews","id":"7bd035a2-2936-4dda-bbe3-bab8dc9e574d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8000/products/21/reviews/137","urlObject":{"protocol":"http","port":"8000","path":["products","21","reviews","137"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"75cd067e-aced-4441-bb5f-fe2a7a05745d","name":"Review API (삭제)","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8000/products/21/reviews/137"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Jun 2022 02:52:37 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.12"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"29"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"DELETE_SUCCESS\"\n}"}],"_postman_id":"7bd035a2-2936-4dda-bbe3-bab8dc9e574d"}]}