MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / fetchJson

Function fetchJson

openclaw-plugin/src/index.js:168–173  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

166}
167
168async function fetchJson(url) {
169 try {
170 const resp = await fetch(url, { signal: AbortSignal.timeout(5000) });
171 return resp.ok ? await resp.json() : null;
172 } catch { return null; }
173}
174
175async function postJson(url, body) {
176 try {

Callers 1

registerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected