-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.http
More file actions
50 lines (36 loc) · 862 Bytes
/
test.http
File metadata and controls
50 lines (36 loc) · 862 Bytes
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
### POST member
POST http://localhost:8080/api/members
Content-Type: application/json
{
"email": "hello1@gmail.com",
"nickname": "hello",
"password": "hello123",
"profileImageUrl": "hello.my.profile"
}
### POST course
POST http://localhost:8080/api/courses
Content-Type: application/json
{
"title": "Spring Boot",
"category": "Programming",
"description": "아 즐거운 스프링 부트!"
}
### POST progress
POST http://localhost:8080/api/progresses
Content-Type: application/json
{
"memberId": 1,
"courseId": 1
}
### GET member progresses
GET http://localhost:8080/api/members/1/progresses
### POST comment
POST http://localhost:8080/api/comments
Content-Type: application/json
{
"memberId": 1,
"courseId": 1,
"content": "hello 1"
}
### GET course comments
GET http://localhost:8080/api/courses/1/comments?page=0&size=5