REST - Get the destination IP address only

Isn’t that the Job of a relay to get two PC together?