I have a micro project that generates an JPG image. The simplest method I can implement is POST-ing such image to an API end point.
I have looked through API documentation and I could not find a way to upload a file via it. One would think it is a simple functionality, especially if there are things like Image Cards.
So, is it possible to upload an image via Home Assistant API?
I am trying to avoid writing unnecessary code on both micro and the home assistant/destination machine.