MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / httpGet

Function httpGet

src/main/utils/httpRequest.ts:148–153  ·  view source on GitHub ↗
(
  url: string,
  options: Omit<HttpRequestOptions, 'method'> = {}
)

Source from the content-addressed store, hash-verified

146 * GET 请求
147 */
148export function httpGet(
149 url: string,
150 options: Omit<HttpRequestOptions, 'method'> = {}
151): Promise<HttpResponse> {
152 return httpRequest(url, { ...options, method: 'GET' })
153}
154
155/**
156 * POST 请求

Callers 4

fetchContentFunction · 0.90
fetchPluginMarketMethod · 0.85
installPluginFromNpmMethod · 0.85
getRemotePluginReadmeMethod · 0.85

Calls 1

httpRequestFunction · 0.85

Tested by

no test coverage detected