123456789101112131415 |
- curl -X POST http://localhost:8080/api/register -d '{"username": "testuser", "password": "password"}' -H "Content-Type: application/json"
- ###
- curl -X POST http://localhost:8080/api/login -d '{"username": "testuser", "password": "password"}' -H "Content-Type: application/json"
- ###
- curl -X GET http://localhost:8080/api/protected -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjcwNzI5ODYsInN1YiI6InRlc3R1c2VyIn0.QmKrOdoEUlNVD-Nt-8nMDiRNBe93DELv_BzBnfWcdCg"
- ###
- curl -X GET http://localhost:8080/api/address/search
- ###
- curl -X GET http://localhost:8080/api/address/geocode
|