HM-49. Добавлено автоматическое определение базы тестинг или прод в зависимости от url фронта (#18)
This commit is contained in:
@ -1,14 +1,17 @@
|
||||
// Запрос всех пар ключей апи
|
||||
GET http://vigdorov.ru:4001/store HTTP/1.1
|
||||
Api-Name: store-service-test
|
||||
|
||||
###
|
||||
// Запрос апи по ключу
|
||||
GET http://vigdorov.ru:4001/store/testApi HTTP/1.1
|
||||
Api-Name: store-service-test
|
||||
|
||||
###
|
||||
// Создание нового апи
|
||||
POST http://vigdorov.ru:4001/store HTTP/1.1
|
||||
content-type: application/json
|
||||
Api-Name: store-service-test
|
||||
|
||||
{
|
||||
"key": "testApi",
|
||||
@ -25,6 +28,7 @@ content-type: application/json
|
||||
// Обновление существующего апи
|
||||
PUT http://vigdorov.ru:4001/store HTTP/1.1
|
||||
content-type: application/json
|
||||
Api-Name: store-service-test
|
||||
|
||||
{
|
||||
"key": "testApi",
|
||||
@ -39,4 +43,5 @@ content-type: application/json
|
||||
|
||||
###
|
||||
// Удаление апи
|
||||
DELETE http://vigdorov.ru:4001/store/testApi HTTP/1.1
|
||||
DELETE http://vigdorov.ru:4001/store/testApi HTTP/1.1
|
||||
Api-Name: store-service-test
|
||||
|
||||
Reference in New Issue
Block a user