For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 0 1 1

First request taking much longer than subsequent requests

Hello,

Whenever I run a PHP script that connects to the World Check API, the first request made always takes a lot longer than the following requests. For a script that makes 9 requests, here are the times taken and the HTTP response codes

  • 60 seconds (200)
  • 0 seconds (200)
  • 0 seconds (200)
  • 1 seconds (200)
  • 0 seconds (200)
  • 0 seconds (200)
  • 1 seconds (200)
  • 1 seconds (200)

I don't believe this to be a caching issue as I get the same results with different requests. Occasionally the first request will return a 401 but the ones after will return 200

I am connecting to the Pilot server for these requests.

Any help is appreciated thanks,

Craig

world-checkworld-check-oneerror-401requesthttp
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
526 2 2 3

Hello @Craig,

I understand that every request from this chain is different. Could you tell me what type is the first request?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea