Example: class Course and Teacher having many-to-one relationship, how to change teacher for a certain course via Spring-data rest?
GET http
Using httpie PATCH instead of PUT works for me:
http PATCH :7070/study-spring-data/course/2 teacher="http://localhost:7070/study-spring-data/teacher/2"
Again, this does not work with PUT.