Created
December 27, 2021 07:19
-
-
Save IgnacioCastro0713/1f23da4c3da00a4104c54213bce2f48f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
POST http://localhost:8080/login/register | |
Content-Type: application/json | |
{ | |
"username":"ignacio", | |
"password":"hola" | |
} | |
### | |
POST http://localhost:8080/login/authenticate | |
Content-Type: application/json | |
{ | |
"username":"ignacio", | |
"password":"hola" | |
} | |
### | |
GET http://localhost:8080/products | |
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJpZ25hY2lvIiwiZXhwIjoxNjQwNjI0MTU2LCJpYXQiOjE2NDA1ODgxNTZ9.ECM25dPwhLOAFak51ph18TD1T9mvuQY0jX_jYbIUOYo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment