Check whether instance is online

I want to remotely check whether my Nextcloud instance is online, is there a way I can do this with an HTTP request or similar method?

Yes.

https://yourdomain.dom/ocs/v2.php/apps/serverinfo/api/v1/info?format=json

Or just CURL against your main url. If you recieves a no response error code, it is not online.

That works, thank you!

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.