Example: class Course and Teacher having many-to-one relationship, how to change teacher for a certain course via Spring-data rest?
GET http
I think you should have to check the Cascading for Course. Because if you are updating the course , then it should update your teacher also, if Cascading update or All is to be assigned for your course.