MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / fetch

Method fetch

packages/sdks/sdk/src/api.ts:77–84  ·  view source on GitHub ↗
(
    path: string,
    data: ReqBody,
    options: FetchOptions = {},
  )

Source from the content-addressed store, hash-verified

75 }
76
77 async fetch<ReqBody, ResBody>(
78 path: string,
79 data: ReqBody,
80 options: FetchOptions = {},
81 ): Promise<ResBody | null> {
82 const url = `${this.baseUrl}${path}`;
83 return this.post<ReqBody, ResBody>(url, data, options, 0);
84 }
85}

Callers

nothing calls this directly

Calls 1

postMethod · 0.95

Tested by

no test coverage detected