Skip to content
Snippets Groups Projects
Commit 41951ad1 authored by Victoria Badeke's avatar Victoria Badeke
Browse files

datenbank

parent 7509cf9b
No related merge requests found
......@@ -7,10 +7,6 @@ Content-Type: application/json
"password": "777"
}
####Read Users
GET http://localhost:8080/users HTTP/1.1
### Update user
PUT http://localhost:8080/user HTTP/1.1
Content-Type: application/json
......@@ -22,15 +18,6 @@ Content-Type: application/json
"password": "otto"
}
### Update specific user
PUT http://localhost:8080/user/1 HTTP/1.1
Content-Type: application/json
{
"givenName": "Selina",
"familyName": "Kyle"
}
### Read User
GET http://localhost:8080/user/21 HTTP/1.1
......@@ -91,15 +78,24 @@ POST http://localhost:8080/logout HTTP/1.1
####Read Users
GET http://localhost:8080/users HTTP/1.1
### Update specific user
PUT http://localhost:8080/user/48 HTTP/1.1
PUT http://localhost:8080/user/1 HTTP/1.1
Content-Type: application/json
{
"firstName": "Selina",
"lastName": "Kyle"
"givenName": "Selina",
"familyName": "Kyle"
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment