Storing an image from base64 format

I am developing an application in Appsmith and I want to send an image from the Camera widget to baserow.

I first tried through the upload-file endpoint, but this resulted in an error. Next I tried with the upload-via-url endpoint and passing a base64 string, but this also results in an error.

Is it possible to upload images from a base64 format?