MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / post

Method post

webapp/_webapp/src/libs/apiclient.ts:202–211  ·  view source on GitHub ↗
(url: string, data?: object, options?: RequestOptions)

Source from the content-addressed store, hash-verified

200 }
201
202 async post(url: string, data?: object, options?: RequestOptions): Promise<JsonValue> {
203 return this.requestWithErrorToast(
204 {
205 method: "POST",
206 url,
207 data,
208 },
209 options,
210 );
211 }
212
213 async put(url: string, data?: object, options?: RequestOptions): Promise<JsonValue> {
214 return this.requestWithErrorToast(

Callers 8

loginByOverleafFunction · 0.80
loginByGoogleFunction · 0.80
logoutFunction · 0.80
resetSettingsFunction · 0.80
createPromptFunction · 0.80
upsertUserInstructionsFunction · 0.80
acceptCommentsFunction · 0.80

Calls 1

requestWithErrorToastMethod · 0.95

Tested by

no test coverage detected