201-Your reminder to trust the process!
Libraries and Addresses have a one-to-one relationship by using the @OneToOne annotation.
After persisting both instances, we can establish the relationship by using one of the association resources.
This is done using the HTTP method PUT, which supports a media type of text/uri-list, and a body containing the URI of the resource to bind to the association.
Source: