-
Notifications
You must be signed in to change notification settings - Fork 0
/
request.http
51 lines (32 loc) · 1.11 KB
/
request.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
44
45
46
47
48
49
50
51
###
GET http://localhost:3000/user/600889a4f705595398cd7442 HTTP/1.1
###
GET http://localhost:3000/thread HTTP/1.1
###
GET http://localhost:3000/user/status/6019c02f50c92a6ec88c6a3d HTTP/1.1
###
POST http://localhost:3000/user/600889a4f705595398cd7442/tweet
content-type : application/json
{"text" : "üç"}
###
POST http://localhost:3000/user/601b38b2d8189a6c20789a45/reply HTTP/1.1
content-type : application/json
{"text" : "reply", "tweetId" : "601b3971ea5bf8573056d99f"}
###
POST http://localhost:3000/user/create HTTP/1.1
content-type : application/json
{"name" : "veysel", "username" : "veyxsel", "age" : 20}
###
POST http://localhost:3000/user/600889b7f705595398cd7443/follow HTTP/1.1
content-type : application/json
{"otherId" : "600911ea91e69030ec593347"}
###
POST http://localhost:3000/user/60191f64491eb2774c2ec542/like HTTP/1.1
content-type : application/json
{ "tweetId" : "60192797ca2c375c10ad99cb"}
###
DELETE http://localhost:3000/user/600442068fef7b4808ae4449/delete HTTP/1.1
###
PATCH http://localhost:3000/user/6007507b6c495b496c8d1734 HTTP/1.1
content-type: application/json
{"name" : "degstir"}