MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / requestOk

Function requestOk

packages/simdeck-test/src/index.ts:898–904  ·  view source on GitHub ↗
(
  endpoint: string,
  pathName: string,
  body: unknown,
)

Source from the content-addressed store, hash-verified

896}
897
898function requestOk(
899 endpoint: string,
900 pathName: string,
901 body: unknown,
902): Promise<void> {
903 return requestJson(endpoint, "POST", pathName, body).then(() => undefined);
904}
905
906function requestJson<T = unknown>(
907 endpoint: string,

Callers 1

createSessionFunction · 0.85

Calls 1

requestJsonFunction · 0.85

Tested by

no test coverage detected