-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequest.http
More file actions
111 lines (70 loc) · 1.81 KB
/
request.http
File metadata and controls
111 lines (70 loc) · 1.81 KB
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
POST http://localhost:3000/api/short-links
Content-Type: application/json
{
"title" : "codeit",
"url" : "https://codeit.kr"
}
###
GET http://localhost:3000/api/short-links/6913e6d1cfa852359f8711dc
###
GET http://localhost:3000/api/short-links/
###
PATCH http://localhost:3000/api/short-links/69134dd7d68e5e1f7cd8908d
Content-Type: application/json
{
"title" : "codeit-EDIT1",
"url" : "https://codeit.kr"
}
###
DELETE http://localhost:3000/api/short-links/6913e6d1cfa852359f8711dc
###
GET http://localhost:3000/api/short-links/123
###
GET http://localhost:3000/api/short-links/123?q=codeit
###
POST http://localhost:3000/api/short-links/123
Content-Type: application/json
{
"title" : "codeit"
}
###
GET http://localhost:3000/api/short-links/123
Cookie: session-id=codeit1234
### //qrcodes/
GET http://localhost:3000/api/qrcodes
###
GET http://localhost:3000/api/qrcodes/6913e952cfa852359f8711e4
###
DELETE http://localhost:3000/api/qrcodes/6913e955cfa852359f8711e6
###
POST http://localhost:3000/api/qrcodes
Content-Type: application/json
{
"title": "위키피디아 Next.js2",
"url": "https://en.wikipedia.org/wiki/Next.js"
}
###
PATCH http://localhost:3000/api/qrcodes/6913e94dcfa852359f8711e2
Content-Type: application/json
{
"title": "위키피디아 Next.js322",
"url": "https://en.wikipedia.org/wiki/Next.js"
}
### //qrcodes/codeit
PATCH http://localhost:3000/api/qrcodes/codeit
Content-Type: application/json
{
"title": "위키피디아 Next.js",
"url": "https://en.wikipedia.org/wiki/Next.js"
}
###
GET http://localhost:3000/api/qrcodes/codeit
###
DELETE http://localhost:3000/api/qrcodes/codeit
###
POST http://localhost:3000/api/qrcodes/codeit
Content-Type: application/json
{
"title": "위키피디아 Next.js1",
"url": "https://en.wikipedia.org/wiki/Next.js"
}