MCPcopy Create free account
hub / github.com/FreeMovieIR/freemovieir.github.io / json

Function json

js/apiClient.js:61–67  ·  view source on GitHub ↗
(url, options = {})

Source from the content-addressed store, hash-verified

59 }
60
61 async function json(url, options = {}) {
62 const response = await request(url, options);
63 if (!response.ok) {
64 throw new Error(`HTTP ${response.status}`);
65 }
66 return response.json();
67 }
68
69 window.FreeMovieApi = {
70 proxify,

Callers

nothing calls this directly

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected