Skip to content

Commit

Permalink
Replace /me endpoint with /whoami
Browse files Browse the repository at this point in the history
Endpoint "/me" was replaced with "/whoami" in:
ef04597

Signed-off-by: Paweł Wieczorek <[email protected]>
  • Loading branch information
pawiecz committed Jul 13, 2023
1 parent 97892b6 commit c7604ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ For example, to check it's working:

```
$ curl -X 'GET' \
'http://localhost:8001/latest/me' \
'http://localhost:8001/latest/whoami' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJib2IifQ.KHkILtsJaCmueOfFCj79HGr6kHamuZFdB1Yz_5GqcC4'
{"_id":"615f30020eb7c3c6616e5ac3","username":"bob","hashed_password":"$2b$12$VtfVij6zz20F/Qr0Ri18O.11.0LJMMXyJxAJAHQbKU0jC96eo2fr.","active":true}
Expand Down

0 comments on commit c7604ec

Please sign in to comment.