Simplify your API testing with our versatile endpoints
Test GET, POST, PUT, DELETE and more
Simulate network latency and timeouts
Handle various HTTP status scenarios
testwhatever.xyz is a platform designed to simplify API testing for developers. Our service provides a range of endpoints that simulate various API behaviors, allowing you to test your applications more effectively.
We're constantly working on expanding our features and adding new endpoints to cover more testing scenarios. Stay tuned for updates!
For any inquiries or suggestions, please contact us at: [email protected]
Returns a simple JSON response
curl https://testwhatever.xyz/api/hello
Echoes back the JSON body sent in the request
curl -X POST -H "Content-Type: application/json" -d '{"key":"value"}' https://testwhatever.xyz/api/echo
Simulates updating an item with the given ID
curl -X PUT -H "Content-Type: application/json" -d '{"name":"Updated Item"}' https://testwhatever.xyz/api/update/123
Simulates deleting an item with the given ID
curl -X DELETE https://testwhatever.xyz/api/delete/123
Demonstrates handling query parameters
curl "https://testwhatever.xyz/api/search?q=test"
Returns a response after a 2-second delay
curl https://testwhatever.xyz/api/delayed
Returns a random HTTP status code
curl https://testwhatever.xyz/api/random-status
Returns the requestor's IP address
curl https://testwhatever.xyz/api/ip
Returns all HTTP headers sent in the request
curl https://testwhatever.xyz/api/headers
Validates the JSON sent in the request body
curl -X POST -H "Content-Type: application/json" -d '{"key":"value"}' https://testwhatever.xyz/api/validate-json
Implements a simple rate limiter
curl https://testwhatever.xyz/api/rate-limit
Returns the current server timestamp in various formats
curl https://testwhatever.xyz/api/timestamp