MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / postRequest

Function postRequest

apps/cloud/src/mcp/telemetry.test.ts:57–62  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

55};
56
57const postRequest = (body: unknown): Request =>
58 new Request("https://executor.sh/mcp", {
59 method: "POST",
60 headers: { "content-type": "application/json", "mcp-session-id": "sess-123" },
61 body: JSON.stringify(body),
62 });
63
64const annotate = (request: Request) =>
65 annotateMcpRequest(request, { token: null, parseBody: true });

Callers 1

telemetry.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected