RavageLvl 20
Binary_Coder 1. In normal JS, you can use:
fetch("url",{method:"POST"/*or get*/,
headers: headers,
body: JSON.stringify(body)})
This is, of course, a simplification; there are other parameters you could use, you probably knew that already. In any case, read this for a more detailed explanation: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch.
Part 2 is way trickier. startWebRequest()
only works, as you know, for a select few websites, so you have to be creative, and use external servers to perform the requests themselves (at least, as far as I know). You can use Replit for this, along with cdo-firebase-storage
, but this is where the domain of my CDO knowledge ends (when I was on CDO, I refused to dabble with this), so it would be better to ask @Letti42 or @Varrience . They're the masters of this art.