diff --git a/userman_all/server/test/horizon_changers.http b/userman_all/server/test/horizon_changers.http index 5e1e78112ea3400767e9ad70a507f07edf6fc00b..1eb967832b761129b4159b57b076cfa52d0e7fca 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" } + + + + +