+ 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

7th Feb 2019, 9:42 PM
Jim Johansson
Jim Johansson - avatar
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
10th Jun 2019, 12:33 PM
Bercik97
Bercik97 - avatar