Newer
Older
### Login
POST http://localhost:8080/login HTTP/1.1
Content-Type: application/json
{
"eMail": "paula@gmx.de",
"password": "123"
}
###Delete specific user
DELETE http://localhost:8080/user/25 HTTP/1.1
### Update specific User
PUT http://localhost:8080/user HTTP/1.1
Content-Type: application/json
{
"givenName": "Laurin",
"familyName": "Etzel"
### Read User
GET http://localhost:8080/user/21 HTTP/1.1
### Read User
GET http://localhost:8080/user/500 HTTP/1.1
### Login
POST http://localhost:8080/login HTTP/1.1
Content-Type: application/json
{
"eMail": "lilith@fa.gmx.de",
"password": "passwort"
}
### Create a new user
POST http://localhost:8080/user HTTP/1.1
Content-Type: application/json
{
### Create a new user
POST http://localhost:8080/user HTTP/1.1
Content-Type: application/json
"firstName": "Bruce",
"lastName": "Wayne",
"password": "1234",
"repeatPassword": "1234"
### Update specific user
PUT http://localhost:8080/user/48 HTTP/1.1
Content-Type: application/json
{
"firstName": "Selina",
"lastName": "Kyle"
}