public async Task <String> GetAddressAsync(GetAddressRequest request) { String json = JsonConvert.SerializeObject(request); StringContent requestContent = new StringContent(json, Encoding.UTF8, "application/json"); String url = String.Format("{0}", _apiUrl); return(await Get(requestContent, url)); }
public async Task<String> GetAddressAsync(GetAddressRequest request) { String json = JsonConvert.SerializeObject(request); StringContent requestContent = new StringContent(json, Encoding.UTF8, "application/json"); String url = String.Format("{0}", _apiUrl); return await Get(requestContent, url); }