I am building an HTML form in React that allows a user to upload an image. I would like to pass this image from React to a Netlify function that will then authenticate with a third party service and send the image on to be stored elsewhere.
The only viable method I can identify to pass the image from the React form to the Netlify function is using FormData(). Unless I’m missing something, I can’t find to get the image within the Netlify function. Am I missing something or would there be another recommended approach?
I realize Netlify has a Forms product, but am trying to do this with just Netlify Functions.