-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.http
66 lines (47 loc) · 1.66 KB
/
app.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
POST http://localhost:3000/register/
Content-Type: application/json
{
"username": "venkycrj",
"password": "venky123@",
"name": "Sherlok Holmes",
"gender": "male"
}
####
POST http://localhost:3000/login/
Content-Type: application/json
{
"username": "venkycrj",
"password": "venky123@"
}
####
GET http://localhost:3000/user/tweets/feed/
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
####
GET http://localhost:3000/user/following/
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
####
GET http://localhost:3000/user/followers/
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
###
GET http://localhost:3000/tweets/1/
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
###
GET http://localhost:3000/tweets/1/likes
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
###
GET http://localhost:3000/tweets/3/replies
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
###
GET http://localhost:3000/user/tweets
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
###
POST http://localhost:3000/user/tweets
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
Content-Type: application/json
{
"tweet": "The game Mrs.Hudson is on!"
}
###
DELETE http://localhost:3000/tweets/19/
Authorization: BEARER eyJhbGciOiJIUzI1NiJ9.dmVua3ljcmo.FXoRwCgyecXRYAzQqb5Th2HAF4DovYoE6lmZbOu3bBg
####