Http Request Block

Renders a formatted API request block displaying the HTTP method badge, URL endpoint, headers, and body.

Surfaces
webgoogle-apps-script-webmcp-apps
Degraded on
SurfaceNote
google-meet-stageLayout shifts or responsive styling can clip wide URL strings.
google-chatStrips method badges and colors, rendering as basic raw markdown text.
emailComplex inline structures and method badge background colors drop out.
Fields
FieldType
methodstring: GET | POST | PUT | DELETE | PATCH. The HTTP verb.required
urlstring. The fully qualified or relative API endpoint route.required
headersobject. Key-value pairs detailing required HTTP headers.required
bodystring. Optional request payload, typically stringified JSON.optional
Example payload
{
  "type": "http_request_block",
  "method": "GET",
  "url": 1,
  "headers": [
    "Name",
    "Value",
    "Status"
  ]
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:http_request_block",
  "displayName": "Http Request Block",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/http_request_block",
  "capabilities": [
    "web",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Renders a formatted API request block displaying the HTTP method badge, URL endpoint, headers, and body.",
  "representativeQueries": [
    "show a document REST API endpoints with HTTP methods, headers, and payloads",
    "renders a formatted api request block displaying the http method badge, url endpoint, headers, and b",
    "render a http request block"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →