Site name: https://focused-joliot-86e973.netlify.app/
Domain: havent set up domain yet
Hello, since i want to do some custom things when a form is submitted on my site, I am submitting the forms via axios posting to a Netlify function. This has worked with the first four forms that I have made, but I am having trouble with the html input “file” type. I am successfully saving the value as the file content, but when i send over the data to the lambda function, it is just showing up as an empty object (that is what the value is initialized to before the form is filled out)
I’m obviously not asking for any help with customized code, my main question is, is it possible to upload a file to a function via a form input field? I understand that they are serverless functions and i could see that not being possible, but i am a fairly new developer and lack the complete understanding to know that for sure. My main goal is to upload the file via a form and attatch those files to an email with nodemailer and am just wondering if this is possible. Thank you!