public override void SendAlert(Alert alert, Action<bool> callback) { var url = serverUrl + "/alert"; NameValueCollection collection = DictionaryToNameValue (alert.ToDictionary ()) as NameValueCollection; collection.Add ("to", toPhoneNumber); // for testing different phones Post (url, collection, (err,data) => { callback(err == null); }); }