The first option doesn’t require any client-side JavaScript integration, and can be used by any other back-end service that deals with files.
A rewindable io with the file contents must be available at the server for this operation.Īhead of the file being directly uploaded client-side to the service, via create_before_direct_upload!. Blobs can be created in two ways:Īhead of the file being uploaded server-side to the service, via create_and_upload!. A blob is a record that contains the metadata about a file and a key for where that file resides on the service.