using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.gugudata.com/ai/bazi-relationship-insight?appkey=YOUR_APPKEY");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string>
{
{ "personA", "N/A" },
{ "personB", "N/A" },
{ "personA.name", "N/A" },
{ "personA.gender", "男" },
{ "personA.calendarType", "公历" },
{ "personA.birthDate", "1990-12-01" },
{ "personA.birthTime", "07:00" },
{ "personA.birthPlace", "N/A" },
{ "personA.isLeapMonth", "false" },
{ "personA.language", "zh-CN" },
{ "personB.name", "N/A" },
{ "personB.gender", "女" },
{ "personB.calendarType", "公历" },
{ "personB.birthDate", "1992-06-15" },
{ "personB.birthTime", "09:30" },
{ "personB.birthPlace", "N/A" },
{ "personB.isLeapMonth", "false" },
{ "personB.language", "zh-CN" },
{ "focusAreas", "[]" },
{ "responseMode", "sync" },
{ "streaming", "false" }
});
var response = client.SendAsync(request).Result;
Console.WriteLine(response.Content.ReadAsStringAsync().Result);