Files
Backend/README.md
T
2026-09-11 10:26:40 +03:00

12 lines
724 B
Markdown
Raw 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.
# Отправка запроса с ID, текстом и файлами
Фронтенд должен отправлять на backend один `POST`-запрос с типом `multipart/form-data`.
Запрос содержит:
| Поле | Тип | Описание |
| ------- | -------- | -------------------------------------------------- |
| `id` | `string` | ID запроса/пользователя |
| `text` | `string` | Текст, введённый пользователем |
| `files` | `File[]` | Массив загруженных файлов, количество произвольное |