53 lines
1.0 KiB
HTTP
53 lines
1.0 KiB
HTTP
###
|
||
GET http://localhost:4001/store HTTP/1.1
|
||
Api-Name: store-service-test
|
||
|
||
###
|
||
GET http://localhost:4001/store/testApi-4345345345 HTTP/1.1
|
||
Api-Name: store-service-test
|
||
|
||
###
|
||
POST http://localhost:4001/store HTTP/1.1
|
||
content-type: application/json
|
||
Api-Name: store-service-test
|
||
|
||
{
|
||
"key": "teFDfd4_fd-g53",
|
||
"value": {
|
||
|
||
},
|
||
"description": "тестовое апи",
|
||
"service_name": "test-api",
|
||
"author": "vigdorov"
|
||
}
|
||
|
||
### Update Request
|
||
PUT http://localhost:4001/store HTTP/1.1
|
||
content-type: application/json
|
||
Api-Name: store-service-test
|
||
|
||
{
|
||
"key": "testApi-4234222",
|
||
"value": {
|
||
|
||
},
|
||
"description": "тестовое апи22",
|
||
"service_name": "test-api",
|
||
"author": "vigdorov23422"
|
||
}
|
||
|
||
###
|
||
DELETE http://localhost:4001/store/testApi-433 HTTP/1.1
|
||
Api-Name: store-service-test
|
||
|
||
###
|
||
GET http://localhost:4001/logs/client HTTP/1.1
|
||
|
||
###
|
||
GET http://localhost:4001/logs/server HTTP/1.1
|
||
|
||
###
|
||
DELETE http://localhost:4001/logs/client HTTP/1.1
|
||
|
||
###
|
||
DELETE http://localhost:4001/logs/server HTTP/1.1 |