request.file: Unable to pull in a file submitted through axios #3234
-
I've a front-end app submitting a file through the following code:
And this function on the end of the wire listening for a file submission
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I wasn't aware that All I had to do was destructure the incoming form data as per the following
|
Beta Was this translation helpful? Give feedback.
I wasn't aware that
<input type="file">
"lets you access the list of files selected ... dropped into web content when using the drag and drop API" https://developer.mozilla.org/en-US/docs/Web/API/FileListAll I had to do was destructure the incoming form data as per the following