Example: class Course and Teacher having many-to-one relationship, how to change teacher for a certain course via Spring-data rest?
GET http
How about something like this:
curl -v -X PUT -H "Content-Type: text/uri-list" \ -d "http://localhost:7070/study-spring-data/teacher/1" \ http://localhost:7070/study-spring-data/course/123/teacher
This is a way suggested by O'Reilly's Spring Data book.