Upload image via API without providing a url

Hi all,

I am new to Cloudflare and I was wondering if it is possible to upload an image using the API without providing a url. I just would like to submit a byte array instead.

If it is possble, a boiler plate code would be much appreciated.

Thanks in advance