Added WS to get instance URL

Signed-off-by: Pedro Nunes <pgh.nunes@gmail.com>