Commit 09d747a0 authored by Chris Morris's avatar Chris Morris
Browse files

Added comment for clarification

parent a519281c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@ public class MLRestController {


            for (MultipartFile uploadfile : uploadfiles) {
                // uri = "http://192.168.56.200:8000/LATEST/documents?uri=/final-project/" + uploadfile.getOriginalFilename(); // this works, but doesn't work for the right datahase
                uri = "http://192.168.56.200:8000/LATEST/final-project?uri=/" + uploadfile.getOriginalFilename();           // provide the REST API URI
                // convert the MultipartFile into a file
                File file = new File(uploadfile.getName());          // provide the file object