DEV Community

Luca
Luca

Posted on

Programmatically monitor your API from your iPhone

Everybody knows that having an active API is a very stressing process! You can always be anxious about your API suddenly breaking, and not knowing about it when it happens.

This is why setting up an automated health check on your iPhone, which notifies you when your API breaks can be so helpful.

I have made this iOS Shortcut which you can copy to your iPhone with this link

This shortcut simply sends an HTTP request to your health endpoint and notifies you if the response is different than the expected one.

After setting up the shortcut and testing it to see if it works with your API, you can now with Apple Shortcut Automations, set it up to execute every half hour, hour, day, etc…

❤️ Thank you for reading this article, please share it if you found it helpful 😁

Top comments (0)