added method to make a request to WG server