Saving p5js canvas as image to a server/database

Also, related question about httpPost():

And possibly see also: