使用RestSharp的FullContact批处理请求

时间:2015-04-21 05:17:41

标签: post restsharp fullcontact

我们如何使用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"
  ]
}

link:FullContact api batch request

任何人都可以使用RestSharp

帮助解决如何发出这样的多个请求

0 个答案:

没有答案