How I proxied a file upload through a Next JS middleware
The short answer, it turns out that Axios knows what to do with a Buffer object.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed