-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapi-test.http
46 lines (32 loc) · 981 Bytes
/
api-test.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
### Wine API - GET 요청 (Wine 리스트 조회)
GET https://winereview-api.vercel.app/10-4/wines?limit=5 HTTP/1.1
Content-Type: application/json
### Wine API - POST 요청 (로그인 요청)
POST https://winereview-api.vercel.app/10-4/auth/signIn HTTP/1.1
Content-Type: application/json
{
"email": "example@email.com",
"password": "password"
}
### Wine API - POST 요청 (토큰 갱신 요청)
POST https://winereview-api.vercel.app/10-4/auth/refresh-token HTTP/1.1
Content-Type: application/json
{
"refreshToken": "string"
}
###
POST https://winereview-api.vercel.app/10-4/auth/signUp
Content-Type: application/json
{
"email": "wine@whyne.com",
"nickname": "NapaVally",
"password": "12341234a",
"passwordConfirmation": "12341234a"
}
### 카카오 로그인 테스트
POST https://winereview-api.vercel.app/11-5/auth/signIn/KAKAO
Content-Type: application/json
{
"redirectUri": "http://localhost:3000/signin",
"token": "string"
}