 const terminalSimple = `curl '${location}?${paramsFiltered.join("&")}'`;
        document.getElementById("curl-simple").textContent = terminalSimple;

        // split params into lines and decode each parameter
        const terminal = `curl -LG  ${location} ${paramsFiltered.map((param) => ` -d ${decodeURIComponent(param)}`)
          .join("")}`;

        // set `<a href>` to the new URL
        document.getElementById("curl").textContent = terminal;
      }

      document.addEventListener("DOMContentLo