PR #857 · 12 марта 2026 · Наталья Казакова
https://deploy-preview-857--chatplace-front.netlify.app/auth/sign-in/?preview-api-core=https://dev-api.chatplace.io/664@mail.com — Пароль: 664@mail.com| Endpoint | Request type | Headers | Body | Expected | Actual | Result |
|---|---|---|---|---|---|---|
| httpbin.org/get | GET | — | — | 200 OK | 200 · OK | PASS |
| httpbin.org/status/200 | GET | — | — | 200 | 200 · OK | PASS |
| httpbin.org/status/201 | GET | — | — | 201 | 201 · Created | PASS |
| httpbin.org/status/204 | GET | — | — | 204 | 204 · No Content | PASS |
| httpbin.org/status/301 | GET | — | — | 200 (redirect) | 200 · OK | PASS |
| httpbin.org/status/302 | GET | — | — | 200 (redirect) | 200 · OK | PASS |
| httpbin.org/status/400 | GET | — | — | 400 | 400 · Bad Request | PASS |
| httpbin.org/status/401 | GET | — | — | 401 | 401 · Unauthorized | PASS |
| httpbin.org/status/403 | GET | — | — | 403 | 403 · Forbidden | PASS |
| httpbin.org/status/404 | GET | — | — | 404 | 404 · Not Found | PASS |
| httpbin.org/status/500 | GET | — | — | 500 | 500 · Internal Server Error | PASS |
| httpbin.org/status/502 | GET | — | — | 502 | 502 · Bad Gateway | PASS |
| httpbin.org/status/503 | GET | — | — | 503 | 503 · Service Unavailable | PASS |
| httpbin.org/get?foo=bar | GET | — | — | 200 + args.foo=bar | 200 · OK, args: {"foo":"bar"} | PASS |
| jsonplaceholder.typicode.com/posts/1 | GET | — | — | 200 + JSON | 200 · OK, userId/id/title/body | PASS |
| httpbin.org/delay/2 | GET | — | — | 200 (после 2с) | 200 · OK | PASS |

GET httpbin.org/get → 200 OK

GET httpbin.org/status/201 → 201 Created

GET httpbin.org/status/400 → 400 Bad Request

GET httpbin.org/status/500 → 500 Internal Server Error
| Endpoint | Request type | Headers | Body (что отправлялось) | Expected | Actual | Result |
|---|---|---|---|---|---|---|
| httpbin.org/post | POST | — | Body tab → JSON:{"a":1} | 200, data: '{"a":1}', json: {a:1} | 200 · OK, но Content-Length: 0, data: "", json: null | FAIL |
| httpbin.org/post | POST | — | Body tab → URL encoded:key=value | 200, form: {key:"value"} | 200 · OK, Content-Length: 0, form: {} | FAIL |

POST httpbin.org/post — JSON body {"a":1} введён (перед отправкой)

❌ POST результат: Content-Length: 0, data: "", json: null — body НЕ отправлен
| Method | Endpoint | Headers | Body | Expected | Actual | Result |
|---|---|---|---|---|---|---|
| PUT | httpbin.org/put | — | — (пустое) | 200, data: "" | 200 · OK, Content-Length: 0, data: "" | FAIL |
| DELETE | httpbin.org/delete | — | — (body не нужен) | 200 | 200 · OK | PASS |
| PATCH | httpbin.org/patch | — | Body tab → JSON:{"a":1} | 200, data: '{"a":1}' | 200 · OK, Content-Length отсутствует, data: "", json: null | FAIL |

❌ PUT httpbin.org/put → Content-Length: 0, data: ""

✅ DELETE httpbin.org/delete → 200 OK

❌ PATCH httpbin.org/patch → data: "", json: null
| Endpoint | Method | Header (имя) | Value (значение) | Expected | Actual | Result |
|---|---|---|---|---|---|---|
| httpbin.org/headers | GET | X-Test | myvalue123 | 200 OK, headers содержат X-Test: myvalue123 | 422 Unprocessable Entity headers.X-Test.key: "Required information is missing" headers.X-Test.value: "Required information is missing" | FAIL |
key и value, но не получает их → 422.
Headers UI — поля Header и Value (contenteditable)

❌ Headers X-Test: myvalue123 → 422 Unprocessable Entity (backend не получает key/value)
POSThttps://httpbin.org/post{"name":"test","value":123}{
"data": "{\"name\":\"test\",\"value\":123}",
"json": {"name": "test", "value": 123},
"headers": {
"Content-Length": "27",
"Content-Type": "application/json"
}
}
{
"data": "",
"json": null,
"headers": {
"Content-Length": "0", ← тело не отправлено
"User-Agent": "GuzzleHttp/7"
}
}
Backend (GuzzleHttp/7) не получает тело запроса, введённое в UI. Все HTTP-методы с body (POST, PUT, PATCH) неработоспособны.
X-Testmyvalue123GET, URL: https://httpbin.org/headers200 OK
{
"headers": {
"Host": "httpbin.org",
"User-Agent": "GuzzleHttp/7",
"X-Test": "myvalue123" ← кастомный заголовок передан
}
}
422 Unprocessable Entity
[
{"field": "headers.X-Test.key", "message": "Required information is missing."},
{"field": "headers.X-Test.value", "message": "Required information is missing."}
]
Backend ожидает headers в формате объектов с полями key и value, но фронтенд отправляет данные в неправильной структуре. Backend не может распарсить заголовки и возвращает 422 с ошибкой валидации.
Невозможно отправить ни один пользовательский заголовок (Authorization, Content-Type, X-API-Key и т.д.). Функционал Headers полностью неработоспособен.
| PR | #857 |
| Preview URL | https://deploy-preview-857--chatplace-front.netlify.app/ |
| API | https://dev-api.chatplace.io/ |
| Аккаунт | 664@mail.com / 664@mail.com |
| HTTP Client (backend) | GuzzleHttp/7 |
| Origin IP (ChatPlace) | 34.175.164.2 / 34.175.73.57 / 34.175.146.247 |
| Браузер | Chrome 137, Windows 10, VPN (Shadowsocks) |
| Тестировалось через | UI браузера (Chrome на MI node, CDP automation) |
Оба бага делают External Request неработоспособным для любых реальных сценариев, требующих отправки данных или аутентификации.