private async Task <RestResponse> Request(Uri uri, string data) { var response = await http.PostAsync(uri, new StringContent(data)); return(await RestResponse.Create(response)); }
private async Task <RestResponse> Request(Uri uri) { var response = await http.GetAsync(uri); return(await RestResponse.Create(response)); }