MCPcopy Index your code
hub / github.com/codingapi/springboot-framework / get

Function get

admin-ui/src/api/index.ts:75–86  ·  view source on GitHub ↗
(url: string, params?: any)

Source from the content-addressed store, hash-verified

73
74
75export const get = async (url: string, params?: any) => {
76 try {
77 const response = await api.get(url, {
78 params
79 });
80 return response.data;
81 }catch (e){
82 return {
83 success: false,
84 }
85 }
86}
87
88export const post = async (url: string, data: any) => {
89 try {

Callers 3

detailFunction · 0.90
usersFunction · 0.90
pageFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected