I have an external application uploading a file to my rails web app. (Developed on Heroku, but that’s not completely relevant)
I need to upload that file to AWS. I’ve successfully connected to AWS with rails, but I can’t figure out how to access the file that was uploaded.
I know I need to do File.open({path to file}), then pass the File to AWS
I forgot to set the multipart enctype in my test external application…if anyone else has this same problem this code should work: