Skip to content

Commit ff5319e

Browse files
committed
change GET to POST for GetUsers endpoint
1 parent 2119f7b commit ff5319e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/en/Features-Angular-Token-Based-Authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ of users**:
2525

2626
<img src="images/postman-ng2-userlist.png" alt="Postman get user list" class="img-thumbnail" width="755" height="1040" />
2727

28-
We sent a GET request to **https://localhost:44301/api/services/app/User/GetUsers** and added
28+
We sent a POST request to **https://localhost:44301/api/services/app/User/GetUsers** and added
2929
Authorization to the header as "**Bearer &lt;accessToken&gt;**". And the result is a JSON that contains the list of users.
3030

3131
## Next

docs/en/Infrastructure-Core-Mvc-Token-Based-Authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ After authenticate and get the access token, we can use it to call any **authori
2222

2323
<img src="images/postman-getusers-core-2.png" alt="Postman authentication" class="img-thumbnail" width="919" height="1023" />
2424

25-
We sent a GET request to https://localhost:44302/api/services/app/User/GetUsers and added
25+
We sent a POST request to https://localhost:44302/api/services/app/User/GetUsers and added
2626
Authorization to the header as "**Bearer &lt;accessToken&gt;**". Returning JSON contains the list of users.

0 commit comments

Comments
 (0)