Skip to content

Commit c9a413c

Browse files
committed
[BE] refactor: intellij http 추가 (#30)
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
1 parent a76ae4f commit c9a413c

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
### 0.0 health check
2+
// @no-log
3+
GET {{host_url}}/health
4+
Authorization: Bearer {{access_token}}
5+
6+
### 1.0 임시 회원가입
7+
// @no-log
8+
POST {{host_url}}/sign-up
9+
Content-Type: application/json
10+
11+
{
12+
"email": "{{user.API_1_0_SIGNUP.email}}",
13+
"password": "{{user.API_1_0_SIGNUP.password}}",
14+
"name": "{{user.API_1_0_SIGNUP.name}}",
15+
"nickname": "{{user.API_1_0_SIGNUP.nickname}}",
16+
"birth": "{{user.API_1_0_SIGNUP.birth}}"
17+
}
18+
19+
20+
### 1.1 로그인
21+
// @no-log
22+
POST {{host_url}}/sign-in
23+
Content-Type: application/json
24+
25+
{
26+
"email": "{{user.API_1_1_SIGNIN.email}}",
27+
"password": "{{user.API_1_1_SIGNIN.password}}"
28+
}
29+
30+
> {%
31+
client.global.set("access_token", response.body.result.access_token);
32+
%}
33+
34+
35+
### 1.2 인증코드 인증
36+
// @no-log
37+
POST {{host_url}}/validation/authentication-code
38+
Content-Type: application/json
39+
40+
{
41+
"email": "{{user.API_1_2_AUTHENTICATION_CODE.email}}",
42+
"authentication_code": "{{user.API_1_2_AUTHENTICATION_CODE.authentication_code}}"
43+
}
44+
45+
### 2,0 채널 생성
46+
// @no-log
47+
POST {{host_url}}/room/create
48+
Content-Type: application/json
49+
Authorization: Bearer {{access_token}}
50+
51+
{
52+
"room_id": "{{signaling.API_2_0_CREATE_CHAT_ROOM.chat_room_id}}"
53+
}
54+
55+
### 2.1 채널 참여
56+
// @no-log
57+
POST {{host_url}}/room/{{signaling.API_2_0_CREATE_CHAT_ROOM.chat_room_id}}/join
58+
Content-Type: application/json
59+
Authorization: Bearer {{access_token}}
60+
61+
62+
### 2.2 채널 참여 중인 유저 조회
63+
// @no-log
64+
GET {{host_url}}/room/{{signaling.API_2_0_CREATE_CHAT_ROOM.chat_room_id}}/users
65+
Authorization: Bearer {{access_token}}

0 commit comments

Comments
 (0)