想要在NEST里根据id查询

GET /employee/employee/1

  

可使用Get方法

        public IGetResponse<employee> GetDoc()
        {
            var response = client.Get<employee>("一狮");
            Console.WriteLine(JsonConvert.SerializeObject(response));
            return response;
        }

  

fidler

NEST 根据id查询

 

相关文章:

  • 2022-01-12
  • 2022-02-27
  • 2022-02-06
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-05-17
猜你喜欢
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-01-11
  • 2021-11-05
  • 2021-06-18
相关资源
相似解决方案