HM-45. Добавлена возможность использования тестового api с помощью заголовка

This commit is contained in:
vigdorov
2020-07-17 20:59:52 +03:00
parent 6a0ea4a438
commit 8beb84567a
5 changed files with 81 additions and 42 deletions

View File

@ -1,13 +1,16 @@
GET http://localhost:4001/store HTTP/1.1
Api-Name: store-service-test
###
GET http://localhost:4001/store/testApi22 HTTP/1.1
GET http://localhost:4001/store/testApi-4 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": "testApi-4",
@ -23,17 +26,19 @@ content-type: application/json
PUT http://localhost:4001/store HTTP/1.1
content-type: application/json
Api-Name: store-service-test
{
"key": "testApi-4",
"value": {
},
"description": "тестовое апи",
"description": "тестовое апи22",
"service_name": "test-api",
"author": "vigdorov23422"
}
###
DELETE http://localhost:4001/store/testApi22 HTTP/1.1
DELETE http://localhost:4001/store/testApi-4 HTTP/1.1
Api-Name: store-service-test