Demo UI for the Compute starter. Files are uploaded with AWS SigV4 to your FOS bucket.
Base URL for this page: https://pleasantly-brave-sculpin.edgecompute.app
Pick a file and click Upload.
Examples use the hostname from your current request (Host header).
POST — upload a file:
curl -i -X POST "https://pleasantly-brave-sculpin.edgecompute.app/api/upload?key=uploads/example.bin" \ -H "Content-Type: application/octet-stream" \ --data-binary @./example.bin
PUT — same upload, different method:
curl -i -X PUT "https://pleasantly-brave-sculpin.edgecompute.app/api/upload?key=uploads/example.bin" \ -H "Content-Type: application/octet-stream" \ --data-binary @./example.bin
Custom object key — change key= in the URL:
curl -i -X POST "https://pleasantly-brave-sculpin.edgecompute.app/api/upload?key=my-folder/my-file.pdf" \ --data-binary @./my-file.pdf