I am using Jmix rest to expose the API for a front-end to invoke.
We have a feature to allow user to upload profile photo. The profile photo is sent to the API using base64 encode.
My question is: as I don’t want user to upload a very big profile photo, in Jmix, how can I limit the size of http request?
I am not using the Files API to upload the file, the base64 encoded profile photo is sent to the server in one request together with other user info like username, display name etc.