MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / post

Function post

src/server/cli.spec.ts:41–46  ·  view source on GitHub ↗
(path: string, body: unknown)

Source from the content-addressed store, hash-verified

39
40const app = makeApp()
41const post = (path: string, body: unknown) =>
42 app.request(path, {
43 method: 'POST',
44 headers: { 'Content-Type': 'application/json' },
45 body: JSON.stringify(body),
46 })
47
48describe('CLI gateway — data export', () => {
49 it('manifest lists grouped verbs with resolved tool names', async () => {

Callers 1

cli.spec.tsFile · 0.70

Calls 1

requestMethod · 0.65

Tested by

no test coverage detected