MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / callFetch

Function callFetch

web/pgadmin/static/js/api_instance.js:60–69  ·  view source on GitHub ↗
(url, options, headers={})

Source from the content-addressed store, hash-verified

58}
59
60export function callFetch(url, options, headers={}) {
61 return fetch(url, {
62 ...options,
63 headers: {
64 'Content-type': 'application/json',
65 [pgAdmin.csrf_token_header]: pgAdmin.csrf_token,
66 ...headers,
67 }
68 });
69}

Callers 6

closeConnFunction · 0.90
componentDidMountMethod · 0.90
registerUnloadFunction · 0.90
closeConnFunction · 0.90
DownloadUtils.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected