Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search


  • Posts

  • Joined

  • Last visited

Posts posted by Stocate

  1. Hey everyone! 

    I'm currently trying to add an HTML/JavaScript code block that allows a page to make API calls/HTTP requests.

    I've attached a simple HTML file screenshot with all the code I'm trying to add to the code block. This HTML file, when opened on chrome, successfully queries the API using JavaScript 'fetch' and receives a response which is added to a table and displayed in HTML.

    Unfortunately when copied on the Squarespace code block, I get a script disabled message on the editing page and then a fetch failed when viewing the page normally.

    Any help would be greatly appreciated, let me know if any further clarification is needed! Thank you!


  • Create New...