There comes the point in development circle where you want to check that functionality of the coding stuff still will be working fine even when your webserver for any reason will respond slow. But you can be sure...if you ever need one time a slow response to test something, the hole web answers with the speed of light! Because of this anoying fact here you have a helper to get a lazy response of a server request...that lazy you want, whenever you want. Define your desired answer & the delay and get a link to test. Just that simple, not more - not less.
Get your response in the format:
The quick brown fox jumps over the lazy dog
Get your response in the format:
<xml version="1.0"?> <data> <item> <author>El Fux</author> <title>The quick brown fox jumps over the lazy dog</title> <description>Get some simple xml content with a delay for testing purposes...</description> </item> </data>
Get your response in the format:
{"response": {
"title":"The quick brown fox jumps over
the lazy dog",
"description":"Get some simple json content
with a delay for testing purposes..."
}
}