MCPcopy Create free account
hub / github.com/TanStack/ai / post

Function post

examples/ts-react-chat/src/routes/api.sandbox-triage.test.ts:4–12  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

2import { triagePost } from './api.sandbox-triage'
3
4function post(body: unknown): Promise<Response> {
5 return triagePost(
6 new Request('http://localhost/api/sandbox-triage', {
7 method: 'POST',
8 headers: { 'content-type': 'application/json' },
9 body: JSON.stringify(body),
10 }),
11 )
12}
13
14afterEach(() => {
15 delete process.env.ANTHROPIC_API_KEY

Callers 1

Calls 1

triagePostFunction · 0.90

Tested by

no test coverage detected