var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("http://192.168.2.155:8899/user/getTroubleInfo"),
    Content = new FormUrlEncodedContent(new Dictionary<string, string>
    {
        { "name", "1#失控落棒1#" },
        { "createtime", "2024-01-02 11:24:04" },
        { "time", "" },
        { "flag", "1" },
        { "path", "1#CST-->LOCA-->稳压器水位1#-->稳压器压力-->电加热器热功率" },
    }),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}

01-07 14:54