MCPcopy Create free account
hub / github.com/baiwumm/react-admin / post

Function post

Xmw_web/src/utils/umiRequest/index.ts:143–145  ·  view source on GitHub ↗
(url: string, data?: object, config?: AxiosRequestConfig)

Source from the content-addressed store, hash-verified

141 },
142
143 post<T = any>(url: string, data?: object, config?: AxiosRequestConfig): Promise<Response<T>> {
144 return request(url, { method: 'POST', data, ...config });
145 },
146
147 put<T = any>(url: string, data?: object, config?: AxiosRequestConfig): Promise<Response<T>> {
148 return request(url, { method: 'PUT', data, ...config });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected