🏠 PlatformOS Examples

Direct upload using uppy (uppy.io)

Uppy plugins used:

  1. Dashboard
  2. DragDrop
  3. GoldenRetriever
  4. AwsS3

Source code of this example: JS, HTML


URLs to uploaded files:


    Direct upload using HTML form

    Choose your image
    Debug information coming from s3_upload key
    {"form_data":{"success_action_status":"201","acl":"public-read","Content-Disposition":"inline","x-amz-meta-versions":"{}","x-amz-meta-acl":"public-read","x-amz-meta-content-disposition":"inline","key":"uploads/7fdc429a-4420-421a-a719-253d5ba49117/${filename}","policy":"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0xNVQyMDozMDoyMVoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJ1cGxvYWRzLnN0YWdpbmcub3JlZ29uLnBsYXRmb3JtLW9zLmNvbSJ9LHsic3VjY2Vzc19hY3Rpb25fc3RhdHVzIjoiMjAxIn0seyJhY2wiOiJwdWJsaWMtcmVhZCJ9LHsiQ29udGVudC1EaXNwb3NpdGlvbiI6ImlubGluZSJ9LHsieC1hbXotbWV0YS12ZXJzaW9ucyI6Int9In0seyJ4LWFtei1tZXRhLWFjbCI6InB1YmxpYy1yZWFkIn0seyJ4LWFtei1tZXRhLWNvbnRlbnQtZGlzcG9zaXRpb24iOiJpbmxpbmUifSxbInN0YXJ0cy13aXRoIiwiJGtleSIsInVwbG9hZHMvN2ZkYzQyOWEtNDQyMC00MjFhLWE3MTktMjUzZDViYTQ5MTE3LyJdLHsieC1hbXotY3JlZGVudGlhbCI6IkFLSUE0SU1LSVdZVkpBN09TNFVHLzIwMjUwNzE1L3VzLXdlc3QtMi9zMy9hd3M0X3JlcXVlc3QifSx7IngtYW16LWFsZ29yaXRobSI6IkFXUzQtSE1BQy1TSEEyNTYifSx7IngtYW16LWRhdGUiOiIyMDI1MDcxNVQxOTMwMjFaIn1dfQ==","x-amz-credential":"AKIA4IMKIWYVJA7OS4UG/20250715/us-west-2/s3/aws4_request","x-amz-algorithm":"AWS4-HMAC-SHA256","x-amz-date":"20250715T193021Z","x-amz-signature":"3f344a27fe07f1350334a5e4092170e6d8cc596b82169cec42fc6cc5e48d8dd8"},"direct_upload_url":"https://s3.us-west-2.amazonaws.com/uploads.staging.oregon.platform-os.com"}
      

    Direct upload using AJAX

    Choose your image
    Preview

    Heads up! Example below require you to be logged in as *developer*.
    If you dont have developer account, create it here.

    Uploading Files Directly to Amazon S3 and using uploaded file as an avatar

    Profile text field


    Preview