Add relationships via HTTP Request

how to populate the relationship value through an HTTP Request