Skip to content

Commit 2ba3299

Browse files
edited
1 parent cd49a25 commit 2ba3299

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,37 +20,37 @@ Then you can call RESTful API endpoints;
2020
# The following are the endpoints with their brief description: (you can use POSTMAN or any other api caller....(however, I used PSOTMAN for TESTING)).
2121

2222

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---> {
2525
"email": "mytest5@gmail.com",
2626
"password": "EsmatHanif123",
2727
"username": "esmathanif5",
2828
"role": ["admin"]
2929
}
3030

3131
POST: /api/auth/signin
32-
Description: for Login/SignIn
32+
Description: for Login/SignIn
3333
example request body---> {
3434
"password": "Ahmadkhan1",
3535
"username": "khanan"
3636
}
3737

3838
POST: /api/auth/signout
39-
Description: for Logout/SignOut
39+
Description: for Logout/SignOut
4040

4141
GET: /api/test/all
42-
Description: for Public Content Authroization
42+
Description: for Public Content Authroization
4343

4444

4545
GET: /api/test/user
46-
Description: for User Content Authorization
46+
Description: for User Content Authorization
4747
authToken is required (Should be signed in first)
4848

4949
GET: /api/test/mod
50-
Description: for Modereator Content Authorization
50+
Description: for Modereator Content Authorization
5151
authToken + moderator role is required (Should be signed in first)
5252

5353
GET: /api/test/admin
54-
Description: for Admin Content Authorization
54+
Description: for Admin Content Authorization
5555
authToken + admin role is required (Should be signed in first)
5656

0 commit comments

Comments
 (0)