this is my kobo survey from
https://drive.google.com/file/d/1dCYKbGmVajhx0p0qBwBgzHCFH_IJXhns/view?usp=sharing
this is my menually downloaded data
and this is my api json data
in there so many data field is missing
my api is
using (var httpClient = new HttpClient())
{
string api_call = "------";
using (var request = new HttpRequestMessage(new HttpMethod("GET"), api_call))
{
var base64authorization = Convert.ToBase64String(Encoding.ASCII.GetBytes("username:password"));
request.Headers.TryAddWithoutValidation("Authorization", $"Basic {base64authorization}");
var response = await httpClient.SendAsync(request);
var bytes = await response.Content.ReadAsByteArrayAsync();
Encoding encoding = Encoding.GetEncoding("utf-8");
string the_response = encoding.GetString(bytes, 0, bytes.Length);
//var members = JsonConvert.DeserializeObject<List<ShelterJsonInput>>(the_response);
//_customService.SendShelterDataList(members);
}
}
thanks in advance
mizan