n
path
# Delay for 3 seconds
curl https://tcpdata.com/delay/3
// Test with 2 second delay
fetch('https://tcpdata.com/delay/2')
.then(res => res.json())
.then(data => console.log('Received after delay:', data));
import requests
import time
start = time.time()
response = requests.get('https://tcpdata.com/delay/3')
elapsed = time.time() - start
print(f'Took {elapsed:.2f} seconds')