evening_detective/api/requests.http

36 lines
504 B
HTTP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### Получение списка комад
GET http://localhost:8090/teams
### Добавление команд
POST http://localhost:8090/teams
{
"teams": [
{
"name": "Облако"
},
{
"name": "Кустик"
}
]
}
### Получение команды
GET http://localhost:8090/team
X-Id: 1
X-Password: pass
### Ход команды
POST http://localhost:8090/team/actions
X-Id: 1
X-Password: pass
{
"place": "A-1"
}