20 lines
418 B
HTTP
20 lines
418 B
HTTP
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
|