← Back to home

slee.pt/1m

API endpoint with 1m delay

Expected Response

Delay: 1m (60000ms)

Maximum: 5 minutes (300s)

Response: JSON with timestamp and delay info

Usage Examples

cURL with Payload

curl -X POST https://slee.pt/1m \
  -H "Content-Type: application/json" \
  -d '{"data": "your custom data"}'

cURL without Payload (Optional)

curl -X POST https://slee.pt/1m \
  -H "Content-Type: application/json" \
  -d '{}'

JavaScript (Fetch API)

fetch('https://slee.pt/1m', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    data: { message: 'Hello' }
  })
})
.then(res => res.json())
.then(data => console.log(data));

Python (Requests)

import requests

response = requests.post(
    'https://slee.pt/1m',
    json={'data': 'your data'}
)
print(response.json())

wget (Alpine/Minimal Builds)

Perfect for Alpine-based Docker containers and minimal Linux distributions

wget --post-data='{"data": "your data"}' \
  --header='Content-Type: application/json' \
  --timeout=180 \
  -O response.json \
  https://slee.pt/1m

Alternative API Endpoint

# Also available via /api/delay endpoint:
curl "https://slee.pt/api/delay?time=1m"

Common Use Cases

  • Testing timeout handling in applications
  • Simulating slow network conditions
  • Testing loading states in UI components
  • Debugging async/await behavior
  • Rate limiting and throttling tests

Time Format Guide

Supported formats:

  • • 240 (seconds, default)
  • • 5s (seconds)
  • • 2m (minutes)
  • • 1h (hours)
  • • 500ms (milliseconds)

Examples:

  • • /5s → 5 seconds
  • • /240 → 240 seconds
  • • /1.5m → 90 seconds
  • • /100ms → 0.1 seconds