Sign in to your account
terminal
# Make your request like you normally would, just swap to our API
endpointcurl -X POST \
"https://api.apicaching.com"
-H "X-ApiCaching-OriginUrl: https://api.yourorigin.com" \
-H "X-ApiCaching-ApiKey: YOUR_API_KEY" \
-H "X-ApiCaching-MaxAge: 43200" \# Cache for 12 hours
-H "Content-Type: application/json" \
-d '{payload: "your data here"}'
"https://api.apicaching.com"
-H "X-ApiCaching-OriginUrl: https://api.yourorigin.com" \
-H "X-ApiCaching-ApiKey: YOUR_API_KEY" \
-H "X-ApiCaching-MaxAge: 43200" \# Cache for 12 hours
-H "Content-Type: application/json" \
-d '{payload: "your data here"}'