2

我们如何使用 RestSharp 在 FullContact api 中实现批量请求处理。FullContact api 中批处理请求的示例发布请求为

POST /v2/batch.json?apiKey=[your API key] HTTP/1.1
Content-type: application/json
Host: api.fullcontact.com
Content-Length: 236
Connection: Keep-Alive

{
 "requests" :
  [
    "https://api.fullcontact.com/v2/name/normalizer.json?q=dan+lynn",
    "https://api.fullcontact.com/v2/name/normalizer.json?q=kyle+hansen",
    "https://api.fullcontact.com/v2/person.json?email=bart@fullcontact.com"
  ]
}

链接:FullContact api 批处理请求

任何人都可以帮助如何使用 RestSharp 发出这样的多个请求

4

0 回答 0