HTTP Task - VisualCron - Forum

Community forum

dlouie1492
2018-04-05T15:16:24Z
I'm trying to create a job that sends a GET request (via the HTTP task) to a few internal and external web applications to check if they're responsive/alive, and I was wondering if there was a way to retrieve the HTTP status code (e.g. 200, 300, 404, 500) from the task variables. I've checked the HTTP task variables, and there's nothing in the specific task variables that references a return or status code. I'm aware that the task fails on connection errors, time-outs, 400s, and 500s, but I think it would be useful for me and the other users on my server to be able to see the returned status code with all the other relevant information in a generated notification.

Thanks!
Support
2018-04-12T09:36:30Z
Originally Posted by: dlouie1492 

I'm trying to create a job that sends a GET request (via the HTTP task) to a few internal and external web applications to check if they're responsive/alive, and I was wondering if there was a way to retrieve the HTTP status code (e.g. 200, 300, 404, 500) from the task variables. I've checked the HTTP task variables, and there's nothing in the specific task variables that references a return or status code. I'm aware that the task fails on connection errors, time-outs, 400s, and 500s, but I think it would be useful for me and the other users on my server to be able to see the returned status code with all the other relevant information in a generated notification.

Thanks!



In the latest beta of 8.3.5 you have this output Variable containing the HTTP status code.

https://www.visualcron.c....aspx?g=posts&t=7901 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top