LoopBack Storage Service

storageService.upload(provider, req, res, options, cb)

Handle multipart/form-data upload to the storage service

Arguments
Name Type Description
provider Object

The storage service provider

req Request

The HTTP request

res Response

The HTTP response

[options] Object

The container name

cb Function

Callback function

storageService.download(provider, req, res, container, file, cb)

Handle download from a container/file.

Arguments
Name Type Description
provider Object

The storage service provider

req Request

The HTTP request

res Response

The HTTP response

container String

The container name

file String

The file name

cb Function

Callback function.