MCPcopy
hub / github.com/LAION-AI/Open-Assistant / get

Function get

website/src/lib/api.ts:12–12  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

10const api = axios.create({ headers });
11
12export const get = (url: string) => api.get(url).then((res) => res.data);
13
14export const post = (url: string, data?: { arg: any }) => api.post(url, data?.arg).then((res) => res.data);
15

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected