From 41951ad1775c361c208cdbf423aa6a19a8b3e5cf Mon Sep 17 00:00:00 2001 From: Victoria Badeke <victoria.badeke@mni.thm.de> Date: Fri, 24 Jan 2025 10:51:40 +0100 Subject: [PATCH] datenbank --- userman_all/server/test/horizon_changers.http | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/userman_all/server/test/horizon_changers.http b/userman_all/server/test/horizon_changers.http index 5e1e781..1eb9678 100644 --- a/userman_all/server/test/horizon_changers.http +++ b/userman_all/server/test/horizon_changers.http @@ -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" } + + + + + -- GitLab