- Java 11
- Spring Boot
- Spring Security
- Windows10
- IntelliJ(IntelliJ IDEA Community Edition 2019.1.3)
./gradlew clean bootRun
./gradlew clean build
java -jar build/libs/spring-authentication-sample-0.0.1-SNAPSHOT.jar
エンドポイント:http://localhost:8080/login
HTTPメソッド:POST
params
{
"username": "test@test.com",
"password": "password"
}
エンドポイント:http://localhost:8080/logout
HTTPメソッド:POST
エンドポイント | メソッド | 用途 |
---|---|---|
http://localhost:8080/users | GET | ユーザー一覧情報取得 |
http://localhost:8080/users | GET | ユーザー情報取得 |
http://localhost:8080/users | POST | ユーザー情報登録 |
http://localhost:8080/user/{id} | PUT | ユーザー情報登録 |
http://localhost:8080/userst/{id} | DELETE | ユーザー情報登録 |