Skip to content

Instantly share code, notes, and snippets.

@phette23
Created March 16, 2026 18:24
Show Gist options
  • Select an option

  • Save phette23/6ee98789662c53734546167775c482b6 to your computer and use it in GitHub Desktop.

Select an option

Save phette23/6ee98789662c53734546167775c482b6 to your computer and use it in GitHub Desktop.
Library Hours Fetch Test
// run in browser console to test website release
fetch("https://libraries-libep.cca.edu/hours/?format=json&library=Simpson", {
"headers": {
"accept": "*/*",
},
"referrer": "https://library.cca.edu/",
})
.then(response => response.json())
.then(data => console.log(data))
.catch(err => console.error(err))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment