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/name-generator?appkey={{appkey}}&streaming={{streaming}}&responseMode={{responseMode}}");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string>
{
{ "lastname", "" },
{ "gender", "" },
{ "birthDateTime", "N/A" },
{ "birthPlace", "N/A" },
{ "parentNames", "" },
{ "avoidWords", "" },
{ "avoidNames", "" }
});
var response = client.SendAsync(request).Result;
Console.WriteLine(response.Content.ReadAsStringAsync().Result);