How can i send a screenshot to an external server? (without saving it to a file)

Regarding the function that takes screenshots to the memory, getScreenshotUrl():

It returns a string URL that looks like this:

overwolf://media/memoryscreenshots/4/Dota+2-05-13-2019+14-53-27-158

And it doesn’t seem like something that I can send on a server. How can I send it to an external server? (without saving it to a file)

You can do that with HTML canvas.