I\'m doing file uploads via AJAX on Laravel 5. I\'ve got pretty much everything working except one thing.
When I try to upload a file that is too big (Bigger than
you can easily catch err.response like this:
axios.post().then().catch(function(err){ console.log(err.response); //is what you want };