@source4society/scepter-aws-s3-utilities
v1.4.0
Published
Useful utilities for common AWS S3 situations
Downloads
11
Readme
scepter-aws-utilities
Useful utilities for common AWS S3 situations
Usage
sendRequestToS3
Accepts the following:
requestHandler // Something like whatwyg-fetch to handle the request
file, // The file to upload, typically the data you would send in the form POST request body
signedUrl, // An S3 signed url for 'putObject'
contentType, // The content type header
injectedHeaders, // Optional additional headers to inject or override defaults
injectedOption // Optional additional parameters to inject or override defaults