Api call to server

Hi Team,

Could anyone help me to check server status whether it is on or off and update in column.

Thanks,
Duken