

What followed was three days of agony as I googled and searched Stack Overflow incessantly, finding few resources that pertained to my particular setup and none that solved the issues I was encountering. Still, uploading files is a very common task - how hard could it be? Now up until this point, I had only interacted with API’s using JSON- even though the first blog post I wrote was on using CarrierWave to upload images, that was within a full-stack Rails environment, where I could depend on Rails’ magic form helpers to ease the way.

The files, consisting of both images and audio, were to be processed using Paperclip and stored in S3. I’ve recently been working on a project which required uploading a relatively large number of files from my front end (using React) to a separate API backend (using Rails).
