Connect Loopback to a REST API