MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / post

Method post

src/lib/http.ts:187–189  ·  view source on GitHub ↗
(path: string, options: RequestOptions = {})

Source from the content-addressed store, hash-verified

185 }
186
187 async post<T>(path: string, options: RequestOptions = {}): Promise<T> {
188 return this.requestWithMeta<T>('POST', path, options).then(r => r.body);
189 }
190
191 async put<T>(path: string, options: RequestOptions = {}): Promise<T> {
192 return this.requestWithMeta<T>('PUT', path, options).then(r => r.body);

Callers

nothing calls this directly

Calls 1

requestWithMetaMethod · 0.95

Tested by

no test coverage detected