HM-111. Автор api присваивается исходя из токена и наличия метки у пользователя is_admin
This commit is contained in:
@ -10,9 +10,10 @@ Api-Name: store-service-test
|
||||
POST http://localhost:4001/store HTTP/1.1
|
||||
content-type: application/json
|
||||
Api-Name: store-service-test
|
||||
Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJsb2dpbiI6InN0cmluZyIsImFnZW50IjoidnNjb2RlLXJlc3RjbGllbnQiLCJpYXQiOjE1OTY5MDM0NTQsImV4cCI6MTU5NjkwMzc1NH0.Uos0Ei9Fes1euZ72uh_6E9ixG1orBu79bFYjzzmWRR8
|
||||
|
||||
{
|
||||
"key": "teFDfd4_fd-g53",
|
||||
"key": "testAp",
|
||||
"value": {
|
||||
|
||||
},
|
||||
@ -37,7 +38,7 @@ Api-Name: store-service-test
|
||||
}
|
||||
|
||||
###
|
||||
DELETE http://localhost:4001/store/testApi-433 HTTP/1.1
|
||||
DELETE http://localhost:4001/store/testAp HTTP/1.1
|
||||
Api-Name: store-service-test
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user