Skip to content

Allow file uploads from in memory byte array #11

Description

@prd-fox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions