JavaScript WAIT - REST API requests examples

Example 3

WAIT in RECURENT function - solution for old browsers (ES5)

  1. Request REST API for JSON with order data
  2. API require 5 sec delay between requests
  3. Call API 3x in RECURENT FUNCTION
  4. Display results

For every example - always wait 5 seconds before each API request...

Counting: 0 seconds