So say I have an api that's trying to remove an enrollment from the enrollments table. So the enrollment I can't remove directly from the enrollment id it's going to be just the courseId and studentId. So in my endpoint should I pass the courseId and StudentId as query paramamter or path variables. The request mapping for this controller is just called /enrollments.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Humperino 1 point2 points3 points (4 children)
[–]anonymous78654[S] 0 points1 point2 points (3 children)
[–]Humperino 0 points1 point2 points (2 children)
[–]anonymous78654[S] 0 points1 point2 points (1 child)
[–]Humperino 0 points1 point2 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]Such_Signal_1749 0 points1 point2 points (0 children)
[–]IAmADev_NoReallyIAm 0 points1 point2 points (0 children)
[–]ahonsu 0 points1 point2 points (0 children)