Merge branch 'dev' into feature/refactoring-dtos-for-rtk-report

This commit is contained in:
ngfrolov 2023-03-31 16:58:11 +05:00
commit 7cb16c7df9
Signed by untrusted user who does not match committer: ng.frolov
GPG Key ID: E99907A0357B29A7
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,35 @@
@baseUrl = http://127.0.0.1:5000
@contentType = application/json
@auth = Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCJ9.eyJpZCI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZGV2IiwiaWRDb21wYW55IjoiMSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6InJvb3QiLCJuYmYiOjE2NjI1NDgxNjIsImV4cCI6MTY5NDEwNTc2MiwiaXNzIjoiYSIsImF1ZCI6ImEifQ.OEAlNzxi7Jat6pzDBTAjTbChskc-tdJthJexyWwwUKE
# https://marketplace.visualstudio.com/items?itemName=humao.rest-client
###
GET {{baseUrl}}/api/schedule/test
Content-Type: {{contentType}}
accept: */*
Authorization: {{auth}}
###
POST {{baseUrl}}/api/schedule/test
Content-Type: {{contentType}}
accept: */*
Authorization: {{auth}}
{
"id": 0,
"items": [
{
"id": 1,
"value": 0.1
},
{
"id": 2,
"value": 1.
},
{
"id": 3,
"value": 2.0
}
]
}

View File

@ -0,0 +1,7 @@
# Эта папка предназначена для хранения файлов для отладки/проверки web-api.
Файлы *.http (или *.rest) позволяют вызывать endpoint api без swagger (или postman).
[Документация по созданию файлов](https://marketplace.visualstudio.com/items?itemName=humao.rest-client)
Желательно создавать 1 файл на 1 контроллер.