-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcontrollerTester.http
152 lines (92 loc) · 2.79 KB
/
controllerTester.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Main-Controller API
### 배너정보조회
GET http://localhost:8080/banner
### 추천제품조회
GET http://localhost:8080/recommend-products
### 조회순
GET http://localhost:8080/products/rank?sortType=viewCnt-order
### 위반제품목록
GET http://localhost:8080/products/rank?sortType=violation-products
<> 2024-02-23T161552-3.200.json
### 추천순
GET http://localhost:8080/products/rank?sortType=recommend-order
<> 2024-02-23T161552-4.200.json
### 최신순
GET http://localhost:8080/products/rank?sortType=recent-order
<> 2024-02-23T161552-5.200.json
## Product API Test
### 제품리스트 조회
GET http://localhost:8080/products
<> 2024-02-23T161552-6.200.json
### 제품아이디로 제품조회
GET http://localhost:8080/product/5
<> 2024-02-23T161552-7.200.json
### 키워드로 제품 조회
GET http://localhost:8080/products/search?keyword=더클래스
<> 2024-02-23T161553.200.json
<> 2024-02-23T164752.201.json
<> 2024-02-23T163943.201.json
### 마이페이지 회원비밀번호 검증요청
GET http://localhost:8080/mypage/member/validate
Content-Type: application/json
Authorization: {{ authorization }}
{
"password": "zxcv1234"
}
<> 2024-02-23T164933.200.json
### 마이페이지 회원정보 수정요청
PUT http://localhost:8080/mypage/member
Authorization: {{ authorization }}
Content-Type: application/json
{
"gender": 2,
"age": 30
}
### 회원 세차정보(부가정보) 입력
POST http://localhost:8080/member/wash
Authorization: {{ authorization}}
Content-Type: application/json
{
"washCount": 59,
"monthlyExpense": 63,
"interest": 44
}
### 회원 차량정보(부가정보) 입력
POST http://localhost:8080/member/car
Content-Type: application/json
Authorization: {{ authorization }}
{
"carType": 11,
"carSize": 16,
"carColor": 21,
"drivingEnv": 36,
"parkingEnv": 40
}
### 마이페이지 차량정보 요청
GET http://localhost:8080/mypage/car
Authorization: {{ authorization }}
### 마이페이지 세차정보 요청
GET http://localhost:8080/mypage/wash
Authorization: {{authorization}}
### 세차장 정보조회
GET http://localhost:8080/washzones?minX=36.12&maxX= 36.88&minY=127.1&maxY=127.8&level=2
<> 2024-02-23T161554.201.json
### 세차장 키워드 검색
GET http://localhost:8080/washzones/search?keyword=워시존
<> 2024-02-23T161554-1.201.json
### 세차장 정보 등록
POST http://127.0.0.1:8080/washzones
Content-Type: application/json
{
"name" : "샘플 세차장",
"address": "서울특별시 봉은사역",
"latitude": 37.777,
"longitude": 127.0808
}
<> 2024-02-23T161554-2.201.json
### OCR 검색 기능
GET http://127.0.0.1:8080/products/CB19-12-1034
<> 2024-02-23T161554.200.json
#### 마이페이지 회원탈퇴 요청
DELETE http://localhost:8080/mypage/member
Authorization: {{authorization}}