Uploading files directly to S3 using Pre-signed POST request
06-Sep-2018 2362
Pre-signed POST request allows for securely uploading large files directly to S3 via a signed expirable url, bypassing the 30 seconds Heroku time limit.It’s easy to create a form in Rails which can upload a file to the backend. The backend, can then take the file and upload it to S3. We can do that by using gems like paperclip or carrierwave. Or if we are using Rails 5.2, we can use Active Storage.
Uploading files directly to S3 using Pre-signed POST request #ruby #rubydeveloper #rubyonrails #Uploading #files #directly #using #Pre-signed #request https://rubyonrails.ba/link/uploading-files-directly-to-s3-using-pre-signed-post-request