HM-45. Добавлена возможность использования тестового api с помощью заголовка
This commit is contained in:
11
store.http
11
store.http
@ -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
|
||||
Reference in New Issue
Block a user