Im trying to save a canvas div and then upload it to the server but i cant manage to make it work.
so, this what i do:
You can't get it it work because it is not a file upload. File uploads use encoded form data with a
multipart/form-data content type. You client code is posting data that is not form encoded and has a
canvas/upload content-type. You need to update your server code to make it aware of the 'canvas/upload' content type, or find a way to form encode the image before upload.