Connect to a peer
GET/connect/:peerId
If addrs param is supplied, it will be used to dial the peer, otherwise the peerId is used
to invoke peer discovery, if it succeeds the returned addresses will be used to dial.
Request​
Responses​
- 200
- 400
Successfully connected to peer
Peer either not found or was not possible to dial