File Upload With Loopback
问题 I created a Simple file uploading Application with loopback. Application client side i used simple html and Java Script code . i calling a loopback api with ajax call , this is Java Script code - $('#upload-input').on('change', function () { var files = $(this).get(0).files; if (files.length > 0) { // One or more files selected, process the file upload var form = new FormData(); for (var index = 0; index < files.length; index++) { var file = files[index]; form.append('Uploded Files', file,