I’m trying to upload a file using Netlify forms via AJAX.
The form gets processed and submitted correctly except the file field is empty in the dashboard.
I noticed that encoding a file to URL search params string returns just
%5Bobject+File%5D. Is that correct?
Here’s my code: Netlify forms file upload via ajax issue · GitHub
It’s a simple Next.js app. Am I making some dumb mistake or encoding a file into a URL string is incorrect in the docs?