MCPcopy Create free account
hub / github.com/PIKACHUIM/CFWorkerACME / apiPost

Function apiPost

frontend/src/api/request.ts:104–110  ·  view source on GitHub ↗
(
  url: string,
  body?: any,
)

Source from the content-addressed store, hash-verified

102 * 便捷 POST
103 */
104export async function apiPost<T = ApiResp>(
105 url: string,
106 body?: any,
107): Promise<T> {
108 const res = await instance.post<T>(url, body);
109 return res.data;
110}
111
112export default instance;

Callers 6

testMailFunction · 0.90
testCaptchaFunction · 0.90
resetAdminUserPasswordFunction · 0.90
submitSetupFunction · 0.90
revokeAdminCertFunction · 0.90
purgeAdminCertFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected