@lumeweb/uppy-post-upload
v0.1.0
Published
Plain and simple classic HTML multipart form uploads with Uppy, as well as uploads using the HTTP PUT method.
Maintainers
Readme
@lumeweb/uppy-post-upload
Plain and simple classic HTML multipart form uploads with Uppy, as well as uploads using the HTTP PUT method.
Features
- Supports multipart form uploads
- Supports HTTP PUT method uploads
- Seamless integration with Uppy
- Browser and Node.js support
Installation
npm install @lumeweb/uppy-post-uploadpnpm add @lumeweb/uppy-post-uploadyarn add @lumeweb/uppy-post-uploadUsage
import Uppy from '@uppy/core';
import PostUpload from '@lumeweb/uppy-post-upload';
const uppy = new Uppy({
debug: true,
autoProceed: false,
});
uppy.use(PostUpload, {
endpoint: 'https://your-upload-endpoint.com/upload',
fieldName: 'files',
});Options
endpoint(string, required): The upload endpoint URLfieldName(string): Form field name for files (default:'files')method(string): HTTP method to use ('POST'or'PUT', default:'POST')
License
MIT
