skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
bxmaximum/bitrix-framework-skills382 installs

bitrix-request-response

Используй для HTTP-ввода и ответов Битрикса: Context, HttpRequest, JSON-тело, HttpResponse, cookies, перенаправления и файлы. Вместо $_GET/$_POST, header() и json_encode().

How do I install this agent skill?

npx skills add https://github.com/bxmaximum/bitrix-framework-skills --skill bitrix-request-response
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides technical documentation for handling HTTP requests and responses in Bitrix applications. It identifies how the application interacts with external data and includes necessary warnings about input sanitization and secure redirects to prevent common web vulnerabilities.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · 1 issue

What does this agent skill do?

Приложение, контекст, запрос и ответ

Baseline: main 23.0+ · Verified: main 26.1000.0

Перед PHP-кодом прочитай bitrix-framework, если ещё не читал его в этой задаче. В таблице выбери только нужный rules/*.md; пути относительны каталогу скилла.

ЗадачаЧитать
Application, Context, сайт, язык, доступ к сессииrules/application-context.md
Строка запроса, форма, заголовки, cookies, файлы и тело JSONrules/request.md
HttpResponse, Json/AjaxJson, перенаправления, файлы, cookies, Converterrules/response.md
Uri, UuidGeneratorrules/uri-uuid.md

Обязательные правила

  • Читай данные запроса через $this->getRequest() в контроллере или Context::getCurrent()->getRequest(). Не используй $_GET/$_POST/$_COOKIE/$_SERVER.
  • Выбирай метод конкретного источника (getQuery/getPost/getHeader/getCookie). get() объединяет только строку запроса и форму.
  • Тело JSON не входит в get()/getPost(); параметры действия привязываются к нему только в JsonController. Используй getJsonList() или JsonPayload.
  • Отфильтрованные значения ($request['x']) не экранированы: приводи типы, проверяй и экранируй при выводе.
  • Возвращай объекты ответа (HttpResponse, Engine\Response\*), не header()/echo json_encode().

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-request-response">View bitrix-request-response on skillZs</a>