You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,37 +20,37 @@ Then you can call RESTful API endpoints;
20
20
# The following are the endpoints with their brief description: (you can use POSTMAN or any other api caller....(however, I used PSOTMAN for TESTING)).
21
21
22
22
23
-
POST: /api/auth/signup
24
-
Description: for SignUp/Registeration example request body---> {
23
+
POST: /api/auth/signup
24
+
Description: for SignUp/Registeration example request body---> {
25
25
"email": "mytest5@gmail.com",
26
26
"password": "EsmatHanif123",
27
27
"username": "esmathanif5",
28
28
"role": ["admin"]
29
29
}
30
30
31
31
POST: /api/auth/signin
32
-
Description: for Login/SignIn
32
+
Description: for Login/SignIn
33
33
example request body---> {
34
34
"password": "Ahmadkhan1",
35
35
"username": "khanan"
36
36
}
37
37
38
38
POST: /api/auth/signout
39
-
Description: for Logout/SignOut
39
+
Description: for Logout/SignOut
40
40
41
41
GET: /api/test/all
42
-
Description: for Public Content Authroization
42
+
Description: for Public Content Authroization
43
43
44
44
45
45
GET: /api/test/user
46
-
Description: for User Content Authorization
46
+
Description: for User Content Authorization
47
47
authToken is required (Should be signed in first)
48
48
49
49
GET: /api/test/mod
50
-
Description: for Modereator Content Authorization
50
+
Description: for Modereator Content Authorization
51
51
authToken + moderator role is required (Should be signed in first)
52
52
53
53
GET: /api/test/admin
54
-
Description: for Admin Content Authorization
54
+
Description: for Admin Content Authorization
55
55
authToken + admin role is required (Should be signed in first)
0 commit comments