MCPcopy
hub / github.com/botpress/botpress / post

Method post

modules/misunderstood/src/views/full/ApiClient.ts:17–20  ·  view source on GitHub ↗
(url: string, data?: any, config?: AxiosRequestConfig)

Source from the content-addressed store, hash-verified

15 }
16
17 async post(url: string, data?: any, config?: AxiosRequestConfig) {
18 const res = await this.axios.post(url, data, config)
19 return res.data
20 }
21
22 getForModule(url: string, config?: AxiosRequestConfig) {
23 return this.get(MODULE_URL_PREFIX + url, config)

Callers 15

postForModuleMethod · 0.95
pushChangesMethod · 0.80
setupPrivateRoutesMethod · 0.80
setupRoutesMethod · 0.80
setupMethod · 0.80
setupRoutesMethod · 0.80
sendStatsFunction · 0.80
setupRoutesMethod · 0.80
setupRoutesMethod · 0.80
setupPublicRouteMethod · 0.80
setupSecuredRouteMethod · 0.80
_initializeAppMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected