Example #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));
        }
Example #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);
        }