MCPcopy Create free account
hub / github.com/Snapchat/Valdi / post

Method post

src/valdi_modules/src/valdi/valdi_http/src/HTTPClient.ts:70–76  ·  view source on GitHub ↗
(
    pathOrUrl: string,
    body?: ArrayBuffer | Uint8Array | undefined,
    headers?: StringMap<string> | undefined,
  )

Source from the content-addressed store, hash-verified

68 return this.perform(pathOrUrl, HTTPMethod.GET, headers, undefined);
69 }
70
71 put(
72 pathOrUrl: string,
73 body?: ArrayBuffer | Uint8Array | undefined,
74 headers?: StringMap<string> | undefined,
75 ): CancelablePromise<HTTPResponse> {
76 return this.perform(pathOrUrl, HTTPMethod.PUT, headers, body);
77 }
78
79 post(

Callers

nothing calls this directly

Calls 1

performMethod · 0.95

Tested by

no test coverage detected