-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrequest.http
More file actions
46 lines (33 loc) · 895 Bytes
/
request.http
File metadata and controls
46 lines (33 loc) · 895 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
POST http://localhost:3000/api/tags?userId=666ab8a2592ccb79541c8158&columnId=30833
Content-Type: application/json
{
"user": "666ab8a2592ccb79541c8158",
"columnId": 30833,
"cardId": 7939,
"tags": [
{"text": "야호오", "color": "#76a5ea"}, {"text": "우리야", "color": "#ffffff"}
]
}
###
PUT http://localhost:3000/api/tags?userId=666ab8a2592ccb79541c8158&columnId=30833
Content-Type: application/json
{
"user": "666ab8a2592ccb79541c8158",
"columnId": 30833,
"cardId": 7940,
"tags": [
{"text": "fghfgh", "color": "#76a5ea"}, {"text": "sdfnsd", "color": "#ffffff"}
]
}
###
DELETE http://localhost:3000/api/tags/666ab8dc592ccb79541c815a
###
POST http://localhost:3000/api/users
Content-Type: application/json
{
"userId": 3643
}
###
GET http://localhost:3000/api/tags?userId=666ab8a2592ccb79541c8158&columnId=30833
###
GET http://localhost:3000/api/tags