Currently file uploads require passing a Java File object. My workflow means there is no filesystem available, and we have the full file in memory. I am comfortable with the size of the files (or at least realise that could be a big drawback that the user has to manage).
Can the client be able to take a byte array, or maybe more generally an InputStream?
Ideally something like:
ExtendClient client = ExtendClient.builder().token("<sample>").build();
extendClient.file().upload(<byte array here>, FileUploadRequest.builder().build())`
Many thanks.
Currently file uploads require passing a Java
Fileobject. My workflow means there is no filesystem available, and we have the full file in memory. I am comfortable with the size of the files (or at least realise that could be a big drawback that the user has to manage).Can the client be able to take a byte array, or maybe more generally an
InputStream?Ideally something like:
Many thanks.