HM-49. Добавлено автоматическое определение базы тестинг или прод в зависимости от url фронта (#18)

This commit is contained in:
Nikolay
2020-07-17 22:11:01 +03:00
committed by GitHub
parent d93b1b33c8
commit 24f9b80ad6
3 changed files with 23 additions and 8 deletions

View File

@ -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