HTTP Testing Service
A comprehensive HTTP request and response testing service built on Fastly's edge compute platform. Combining the power of httpbin.org with specialized Fastly service testing capabilities.
🌐 Standard HTTP Testing
🔧 HTTP Methods
Test all standard HTTP methods with full request/response inspection
- GET requests /get
- POST with body /post
- PUT updates /put
- DELETE operations /delete
- PATCH modifications /patch
- HEAD requests /head
- OPTIONS preflight /options
📍 Client Information
Inspect client details and connection information
- IP address detection /ip
- User agent parsing /user-agent
- Request headers /headers
- GeoIP location /geoip
- Connection details /connection
🎯 Status Code Testing
Generate specific HTTP status codes for testing
- Custom status codes /status/{code}
- Random 2xx success /status/random/2xx
- Random 3xx redirect /status/random/3xx
- Random 4xx errors /status/random/4xx
- Random 5xx errors /status/random/5xx
🔒 Authentication Testing
Test various authentication mechanisms
- Basic Auth /basic-auth/{user}/{pass}
- Bearer tokens /bearer
- Digest Auth /digest-auth/{qop}/{user}/{pass}
- Hidden Basic Auth /hidden-basic-auth/{user}/{pass}
- API Key validation /api-key
📦 Response Formats
Generate responses in various formats
- JSON responses /json
- XML format /xml
- HTML pages /html
- Plain text /text
- Binary data /bytes/{n}
- Base64 encoding /base64/{value}
↪️ Redirects & Delays
Test redirect chains and response timing
- Redirect chains /redirect/{n}
- Absolute redirects /absolute-redirect/{n}
- Relative redirects /relative-redirect/{n}
- Response delay /delay/{n}
- Drip data slowly /drip
- Stream responses /stream/{n}
🍪 Cookies & Cache
Cookie manipulation and cache testing
- Set cookies /cookies/set
- Read cookies /cookies
- Delete cookies /cookies/delete
- Cache testing /cache
- Cache control /cache/{n}
- Vary testing /vary
- ETags /etag/{etag}
📊 Data & Encoding
Test data encoding and content negotiation
- Gzip compression /gzip
- Deflate encoding /deflate
- Brotli compression /brotli
- Multipart upload /post/multipart
⚡ Fastly-Specific Features
⚡ Edge Side Includes
Test ESI functionality specific to Fastly
- ESI processing /esi
- Include validation /esi/validate
- Nested includes /esi/nested
- Error scenarios /esi/error
- Conditional ESI /esi/conditional
📋 Fastly Pragmas
Advanced Fastly features controlled via Pragmas
- Header collapsing /header-collapse
- Cookie collapsing /cookie-collapse
- More to come soon!
🛡️ NGWAF Testing
Next-Gen WAF integration testing
- WAF rules /ngwaf/test
- Rate limiting /ngwaf/rate-limit
- Bot detection /ngwaf/bot
- Security headers /ngwaf/headers
Getting Started
This service provides a simple HTTP request & response testing interface designed specifically for Fastly Compute applications. Use it to test your edge logic, debug service configurations, and validate Fastly-specific features.
All standard httpbin.org endpoints are supported, plus additional Fastly-specific testing tools for edge computing scenarios. Perfect for development, testing, and debugging of Fastly services.
curl https://your-service.edgecompute.app/get
# Example: Get your IP address
curl https://your-service.edgecompute.app/ip
# Example: Test specific status code
curl https://your-service.edgecompute.app/status/404
# Example: Test ESI processing
curl https://your-service.edgecompute.app/esi/test