🏠 PlatformOS Examples
Heads up! Those examples need you to be logged in as developer.
If you dont have developer account, create it here.

Direct upload using HTML form

Choose your image
Debug information coming from s3_upload key
{"form_data":{"key":"uploads/53909193-5a52-4d4e-a20e-5300b8dd23b7/${filename}","success_action_status":"201","acl":"public-read","Content-Disposition":"inline","x-amz-meta-versions":"{}","policy":"eyJleHBpcmF0aW9uIjoiMjAxOS0wOC0yMVQwODo0MjowN1oiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJ1cGxvYWRzLnByb2QwMS5vcmVnb24ucGxhdGZvcm0tb3MuY29tIn0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ1cGxvYWRzLzUzOTA5MTkzLTVhNTItNGQ0ZS1hMjBlLTUzMDBiOGRkMjNiNy8iXSx7InN1Y2Nlc3NfYWN0aW9uX3N0YXR1cyI6IjIwMSJ9LHsiYWNsIjoicHVibGljLXJlYWQifSx7IkNvbnRlbnQtRGlzcG9zaXRpb24iOiJpbmxpbmUifSx7IngtYW16LW1ldGEtdmVyc2lvbnMiOiJ7fSJ9LHsieC1hbXotY3JlZGVudGlhbCI6IkFLSUE0SU1LSVdZVktaNkpFN1g3LzIwMTkwODIxL3VzLXdlc3QtMi9zMy9hd3M0X3JlcXVlc3QifSx7IngtYW16LWFsZ29yaXRobSI6IkFXUzQtSE1BQy1TSEEyNTYifSx7IngtYW16LWRhdGUiOiIyMDE5MDgyMVQwNzQyMDdaIn1dfQ==","x-amz-credential":"AKIA4IMKIWYVKZ6JE7X7/20190821/us-west-2/s3/aws4_request","x-amz-algorithm":"AWS4-HMAC-SHA256","x-amz-date":"20190821T074207Z","x-amz-signature":"5b6b2a4b6c16611bafe734c7d38fe6c59bde502ac0b36d6f656db95949c8eddb"},"direct_upload_url":"https://s3-us-west-2.amazonaws.com/uploads.prod01.oregon.platform-os.com"}
  

Direct upload using AJAX

Choose your image
Preview

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

Profile text field


Preview