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 512.0 KiB each and 1.0 MiB total.

@Craig,

We would like to help.

Please provide the additional information as suggested by Kamil in order for us to try to reproduce.

-AHS

@Craig

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hello @Craig,

We have not heard back from you, which prevents us from being more helpful.

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
-AHS

1 Answer

· Write an 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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