Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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);
        }