HM-57. Собираются два типа данные: серверные ошибки и пара запрос-ответ пользователю апи. Серверные ошибки расширены доп полями в том числе дата ошибки. Появилась возможность очищать логи
This commit is contained in:
19
store.http
19
store.http
@ -1,13 +1,12 @@
|
||||
###
|
||||
GET http://localhost:4001/store HTTP/1.1
|
||||
Api-Name: store-service-test
|
||||
|
||||
###
|
||||
|
||||
GET http://localhost:4001/store/testApi-4 HTTP/1.1
|
||||
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
|
||||
@ -23,13 +22,12 @@ Api-Name: store-service-test
|
||||
}
|
||||
|
||||
### Update Request
|
||||
|
||||
PUT http://localhost:4001/store HTTP/1.1
|
||||
content-type: application/json
|
||||
Api-Name: store-service-test
|
||||
|
||||
{
|
||||
"key": "testApi-4",
|
||||
"key": "testApi-4234222",
|
||||
"value": {
|
||||
|
||||
},
|
||||
@ -39,10 +37,17 @@ Api-Name: store-service-test
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
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 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
|
||||
Reference in New Issue
Block a user