Upload a canvas image throug ajax
I wanted to save a screenshot from the game I build so players can see the last moment before the end game. The games uses html5 canvas, so the idea was to upload the canvas and save it as png image in server.
We can send the image to server as a base64 encoded:
Install devilbox on Ubuntu 16.04
The devilbox is a modern and highly customisable LAMP and MEAN stack replacement based purely on docker and docker-compose running on all major platforms.