+ 2
Help to get student by ID (Java)
What I should write under the sentence. I'm posting two classes. @RequestMapping(value = "student/{id}", method = RequestMethod.GET) public List<Student> getStudentID(@PathVariable("id") long id) { https://github.com/Jim7894/API_app/blob/master/src/main/java/com/example/inventory/School.java https://github.com/Jim7894/API_app/blob/master/src/main/java/com/example/inventory/Student.java
1 Antwort
+ 4
Hello man, I created pull request on github with solution. All what u need is accept that pull request from me. If u have questions, feel free to ask :) Also I can give u some tips about your code