MCPcopy Create free account
hub / github.com/code-dot-org/code-dot-org / post

Function post

apps/src/util/HttpClient.ts:132–139  ·  view source on GitHub ↗
(
  endpoint: string,
  body?: BodyInit,
  useAuthenticityToken = false,
  headers: Record<string, string> = {}
)

Source from the content-addressed store, hash-verified

130}
131
132async function post(
133 endpoint: string,
134 body?: BodyInit,
135 useAuthenticityToken = false,
136 headers: Record<string, string> = {}
137): Promise<Response> {
138 return sendRequest('POST', endpoint, body, useAuthenticityToken, headers);
139}
140
141async function deleteRequest(
142 endpoint: string,

Callers 15

get_or_postMethod · 0.85
FilesApiClass · 0.85
NetSimApiClass · 0.85
AnimationLibraryApiClass · 0.85
ChannelsApiClass · 0.85
post_objectMethod · 0.85
copy_assetsMethod · 0.85
post_object_versionMethod · 0.85

Calls 1

sendRequestFunction · 0.85