MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / apiPost

Function apiPost

apps/web/src/api/client.ts:92–97  ·  view source on GitHub ↗
(path: string, body?: unknown)

Source from the content-addressed store, hash-verified

90}
91
92export function apiPost<T>(path: string, body?: unknown): Promise<T> {
93 return request<T>(path, {
94 method: "POST",
95 body: body === undefined ? undefined : JSON.stringify(body),
96 });
97}
98
99/**
100 * Auth request: POSTs with `credentials:"include"` so the httpOnly refresh

Callers 2

cancelFunction · 0.90
analyze.test.tsxFile · 0.85

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected