module
Shrine::Plugins::UploadEndpoint

The upload_endpoint plugin provides a Rack endpoint which
accepts file uploads and forwards them to specified storage. On the client
side it's recommended to use Uppy for
asynchronous uploads.

plugin :upload_endpoint

The plugin adds a Shrine.upload_endpoint method which, given a
storage identifier, returns a Rack application that accepts multipart POST
requests, and uploads received files to the specified storage. You can run
this Rack application inside your app: