initial commit
This commit is contained in:
commit
93d8310491
46 changed files with 3379 additions and 0 deletions
33
testing/rest/user/account.http
Normal file
33
testing/rest/user/account.http
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
GET {{host}}/api/account
|
||||
Authorization: {{jwtUser}}
|
||||
###
|
||||
PUT {{host}}/api/account
|
||||
Authorization: {{jwtUser}}
|
||||
|
||||
{
|
||||
"email": "user@boot.io",
|
||||
"name": "User Boot",
|
||||
"active": false,
|
||||
"roles": ["user", "admin"]
|
||||
}
|
||||
###
|
||||
DELETE {{host}}/api/account
|
||||
Authorization: {{jwtUser}}
|
||||
###
|
||||
PUT {{host}}/api/account/token/3
|
||||
Authorization: {{jwtUser}}
|
||||
|
||||
{
|
||||
"identifier": "my token identifier"
|
||||
}
|
||||
###
|
||||
DELETE {{host}}/api/account/token/1
|
||||
Authorization: {{jwtUser}}
|
||||
###
|
||||
PUT {{host}}/api/account/profile
|
||||
Authorization: {{jwtUser}}
|
||||
|
||||
{
|
||||
"id": 3,
|
||||
"theme": "dark"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue