public override void AddContact(Contact newContact, out string message) { HttpContent requestContent = new MultipartFormDataContent { { new StringContent(newContact.ToVCard()), "contact" } }; Console.WriteLine($"Sending a new contact to {BaseUri}"); if (DoHttpReqeust(httpClient.PostAsync(new Uri(BaseUri, "/api/addContact"), requestContent), out message)) { message = $"[@{BaseUri}] " + message; } }