How to send downlink to HTTP Integration from jQuery?

I meant the topic (and the specific answer) I linked to in my last answer, Integrations - Data Storage / API generates a CORS error when accessed from script running in my browser.

That includes:

Whatever solution, it’s not specific to LoRaWAN or TTN.