I have been researching for hours and I found out two solutions (using NodeJs), so that I can pass a buffer instead of the actual image. Documentation says it accepts buffer and that maybe working for other platforms, but not for node -- these issues can be found on the npm store. The only way I have successfully uploaded images are using these two methods:
1. One would be using cloudinary.uploader.v2.upload.upload_stream
Somehow this method seems very hacky and I cannot find it in documentation, only in forums. It also says it supports promises, but the only way I can get it working is with callbacks. Any documentation I can look regarding this topic?
2. The other way is using DataUri and using it in the normal uploader. This one seems to overload server or that is what I've read about.
Can someone please guide me in the right directions to do this?