MCPcopy
hub / github.com/zhinianboke/xianyu-auto-reply / post

Function post

frontend/src/utils/request.ts:144–151  ·  view source on GitHub ↗
(
  url: string,
  data?: unknown,
  config?: AxiosRequestConfig
)

Source from the content-addressed store, hash-verified

142
143// 封装 POST 请求
144export const post = async <T = unknown>(
145 url: string,
146 data?: unknown,
147 config?: AxiosRequestConfig
148): Promise<T> => {
149 const response = await request.post<T>(url, data, config)
150 return response.data
151}
152
153// 封装 PUT 请求
154export const put = async <T = unknown>(

Callers 15

createPublishAddressFunction · 0.90
createPersonalAddressFunction · 0.90
importPersonalAddressesFunction · 0.90
createFeedbackFunction · 0.90
replyFeedbackFunction · 0.90
createCardFunction · 0.90
batchDeleteCardsFunction · 0.90
uploadCardImageFunction · 0.90
batchClearItemRelationsFunction · 0.90
createMessageFilterFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected