Store/send canvas object to server side in javascript

I have tried JSON.stringify() method and sent it to server side but It saves in JSON format, but I want to store/send as it is canvas object to server side. And get it same from server. So if any one is having idea about this then please help me to resolve it.

Thanks in advance…