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)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay