HM-113. Добавление хуков для чтения/редактирования хранилищ (#1)
This commit is contained in:
19
http/hooks.http
Normal file
19
http/hooks.http
Normal file
@ -0,0 +1,19 @@
|
||||
GET http://localhost:4001/hooks?key=rgfdfff HTTP/1.1
|
||||
|
||||
###
|
||||
POST http://localhost:4001/hooks?key=rgfdfff HTTP/1.1
|
||||
content-type: application/json
|
||||
|
||||
{
|
||||
"holder": "john",
|
||||
"description": "test token",
|
||||
"author": "john smith",
|
||||
"token": "sdf6sdfhs99-sdf",
|
||||
"rights": {
|
||||
"write": true,
|
||||
"read": true
|
||||
}
|
||||
}
|
||||
|
||||
###
|
||||
DELETE http://localhost:4001/hooks?key=rgfdfff&id=5f4a0347c3a82d5a571f058a HTTP/1.1
|
||||
@ -6,6 +6,9 @@ Api-Name: store-service-test
|
||||
GET http://localhost:4001/store/testApi-4345345345 HTTP/1.1
|
||||
Api-Name: store-service-test
|
||||
|
||||
###
|
||||
GET http://localhost:4001/store/rgfdfff?hook=sdf6sdfhs99-sdf HTTP/1.1
|
||||
|
||||
###
|
||||
POST http://localhost:4001/store HTTP/1.1
|
||||
content-type: application/json
|
||||
|
||||
Reference in New Issue
Block a user