3 ms·
Oh, and also other request types are specified in the URL query, such as a delayed response: http://example.com/resource/id?delay=0.5 http://example.com/resourc
by jschulenklopper 11y ago
Oh, and also other request types are specified in the URL query, such as a delayed response: http://example.com/resource/id?delay=0.5 http://example.com/resource/id?delay=0.5, which returns a 200 after 0.5 seconds.
In this way, combining requested responses is also possible: http://example.com/resource/id?status=500&delay=2 http://example.com/resource/id?status=500&delay=2 to return a 500 after 2 seconds.
I couldn't figure out if this behavior is also possible with services specifying the desired responses in the URL path.