0👍
It took some hard digging into my Javascript before I realized that with WebPageA I was using the same FormData object on the JS side to send as the body of the POST via fetch. Meaning the datafile object was being passed along both times I POSTed to my backend. However on WebPageB I actually created a new FormData object within my second POST module and was not including the data file object in its body. Therefore it was never receiving another file. An embarrassing head slapper for sure, but lesson learned.
- [Vuejs]-Laravel Routes not working when using vue js
- [Vuejs]-How to make the dropdown options alphabetical using html, vue, js
Source:stackexchange.com