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/ziwei-fortune?appkey=YOUR_APPKEY");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string>
{
{ "gender", "" },
{ "calendarType", "" },
{ "birthDate", "N/A" },
{ "birthTime", "N/A" },
{ "birthPlace", "N/A" },
{ "isLeapMonth", "false" },
{ "streaming", "false" },
{ "responseMode", "sync" }
});
var response = client.SendAsync(request).Result;
Console.WriteLine(response.Content.ReadAsStringAsync().Result);