Rename some API object and add update user to UserPoint. However, it seems to be broken somehow
This commit is contained in:
parent
81f1c3668b
commit
a9bd803112
12 changed files with 143 additions and 41 deletions
|
|
@ -5,7 +5,7 @@ meta {
|
|||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:4000/user
|
||||
url: http://localhost:4000/user/create
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
|
|
|||
30
bruno/recipe-backend/updateUser.bru
Normal file
30
bruno/recipe-backend/updateUser.bru
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
meta {
|
||||
name: updateUser
|
||||
type: http
|
||||
seq: 8
|
||||
}
|
||||
|
||||
post {
|
||||
url: https://localhost:4000/user/update
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImE0NDdlNDM0LTQyMWYtNDJiYS04MGRlLTM0ZDE1YzJmNWE2YyIsImlhdCI6MTc2MzA2NTI0MCwiZXhwIjoxNzYzMTUxNjQwfQ.e7v1JnlNHm7zwSzumlZIy2Dxfojqsxk55aYC9UA7BkE
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"id": "a447e434-421f-42ba-80de-34d15c2f5a6c",
|
||||
"userName": "admin",
|
||||
"email": "anika@raemer.net",
|
||||
"firstName": "Anika",
|
||||
"lastName": "Rämer",
|
||||
"role": "admin"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue