Make a request to Slowwly to simulate a slow response, configurable delay in millisecs.
Test how your application responds to a slow response from external service or api.
Example of one second delay to google.co.uk: http://slowwy.attico.dev/delay/1000/url/http://google.co.uk
Supported HTTP methods:
HTTP 302HTTP 307Build a URL with the following params:
http://{host}/delay/{delay_time}/url/{url}
hostdelay_timeurl
HTTP/1.1 302 Found
Content-Type: text/html;charset=utf-8
Location: https://www.google.co.uk
Content-Length: 0
# etc
# a post request with some data and a 3 second delay
HTTP/1.1 307 Temporary Redirect
Content-Type: text/html;charset=utf-8
Location: http://myapi.com/endpoint
Content-Length: 0
# etc
# an example get request with follow redirect enabled
HTTP/1.1 302 Found
Content-Type: text/html;charset=utf-8
Location: https://www.google.co.uk
Content-Length: 0
# etc
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=UTF-8
# etc