Check if web service available
Posted: Fri Jun 23, 2017 1:38 pm
What would be the best way to check if a web server is available or not ?
I tried to send a simple get request to a static resource on the server before each rest call,
but if the server is not available i have to wait for the long standard timeout.
How to change the timeout to for example to 0.5 seconds?
I tried to send a simple get request to a static resource on the server before each rest call,
but if the server is not available i have to wait for the long standard timeout.
How to change the timeout to for example to 0.5 seconds?