This is an example project that illustrates creating a RESTful API in Spring Boot.
mvn spring-boot:run
curl -X POST --user 'hendisantika:secret' -d 'grant_type=password&username=hendisantika@example.com&password=password' http://localhost:8000/oauth/token
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -X GET http://localhost:8000/oauth/people
LICENSE
The code is released under the Apache License 2.0. See LICENSE for details.