MCPcopy Create free account
hub / github.com/damms005/devdb-vscode / post

Method post

src/services/http-client.ts:136–151  ·  view source on GitHub ↗
(
    url: string,
    body: Record<string, any>,
    headers: Record<string, string> = {},
    retry?: RetryConfig
  )

Source from the content-addressed store, hash-verified

134 }
135
136 async post<T = any>(
137 url: string,
138 body: Record<string, any>,
139 headers: Record<string, string> = {},
140 retry?: RetryConfig
141 ): Promise<HttpResponse<T>> {
142 return makeRequestWithRetry<T>(url, {
143 method: 'POST',
144 headers: {
145 'Content-Type': 'application/json',
146 ...headers
147 },
148 body,
149 retry: retry || this.defaultRetryConfig
150 });
151 }
152
153 async put<T = any>(
154 url: string,

Callers 5

createGiftLinkFunction · 0.80
activateLicenseMethod · 0.80
checkLicenseStatusMethod · 0.80
startHttpServerFunction · 0.80
explainSelectedQueryFunction · 0.80

Calls 1

makeRequestWithRetryFunction · 0.85

Tested by

no test coverage detected