@aws-sdk
namespace. This project uses "@aws-sdk/client-s3"
and "@aws-sdk/s3-request-presigner"
.fetch
or XMLHttpRequest
to upload our objects to the S3 server. One interesting difference is how we handle the progress of the upload. With XMLHttpRequest
we can register an event listener that allows us to keep track of the upload progress.fetch
API over the much older XMLHttpRequest
API. When we want to track the progress of an upload, we should use the older API; it allows us to listen to a progress
event. The project example is simplified, but we can find details of the entire interface on MDN.PUT
requestflyctl info
to get the url and ip address of your server.