-
Notifications
You must be signed in to change notification settings - Fork 87
Home
Rafael D edited this page Oct 13, 2018
·
1 revision
mvn spring-boot:run
curl -vk -u user:user localhost:8080/login
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyIiwiYXV0aHMiOiJST0xFX0FETUlOLFJPTEVfVVNFUiIsImlzcyI6InJhcGhhLmlvIiwiZXhwIjoxNTM5NDM2Nzg1fQ.3Dx_GLcnoM7mdFpJzMTKFRUWZQU9aNVMpvcO57QHj_M
curl -vk -H "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyIiwiYXV0aHMiOiJST0xFX0FETUlOLFJPTEVfVVNFUiIsImlzcyI6InJhcGhhLmlvIiwiZXhwIjoxNTM5NDM2Nzg1fQ.3Dx_GLcnoM7mdFpJzMTKFRUWZQU9aNVMpvcO57QHj_M" localhost:8080/api/admin