How I proxied a file upload through a Next JS middleware posted under Code AJAXJavaScriptNext.jsNode.js The short answer, it turns out that Axios knows what to do with a Buffer object.
Uploading large files with AJAX and jQuery posted under Code AJAXJavaScriptjQuerywebsite development An introduction to the FileReader interface and where its strengths lie in AJAX file uploads.
Submit file input via AJAX with jQuery the easy way posted under Code AJAXJavaScriptjQuerywebsite development How to upload a file with form file input using FormData API and jQuery.