MCPcopy
hub / github.com/FlowiseAI/Flowise / secureAxiosWrapper

Function secureAxiosWrapper

packages/components/src/utils.ts:1741–1743  ·  view source on GitHub ↗
(config: any)

Source from the content-addressed store, hash-verified

1739
1740 // Axios
1741 const secureAxiosWrapper = async (config: any) => {
1742 return await secureAxiosRequest(config)
1743 }
1744 secureAxiosWrapper.get = async (url: string, config: any = {}) => secureAxiosWrapper({ ...config, method: 'GET', url })
1745 secureAxiosWrapper.post = async (url: string, data: any, config: any = {}) =>
1746 secureAxiosWrapper({ ...config, method: 'POST', url, data })

Callers 1

executeJavaScriptCodeFunction · 0.85

Calls 1

secureAxiosRequestFunction · 0.90

Tested by

no test coverage detected