MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / post

Method post

apps/kimi-web/src/api/daemon/http.ts:177–179  ·  view source on GitHub ↗
(path: string, body?: unknown, opts?: { allowCodes?: number[] })

Source from the content-addressed store, hash-verified

175 }
176
177 async post<T>(path: string, body?: unknown, opts?: { allowCodes?: number[] }): Promise<T> {
178 return this.request<T>('POST', path, body, undefined, opts?.allowCodes);
179 }
180
181 /** Send multipart/form-data (FormData). Does NOT set Content-Type — browser sets it with boundary. */
182 async postForm<T>(path: string, formData: FormData): Promise<T> {

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected