Hacker News new | ask | show | jobs
by Lerc 667 days ago
The possibility of an internet resource disappearing exists regardless of the resource type. Running an API Forwarder that could act as a common target for all your APIs might work. Give it the request, and it passes it on, records success, optionally sends a notification if an endpoint that previously succeeded is now failing.

Add a fancy feature of redirection with format changing to handle replacing dead APIs with new ones transparently.

If anybody makes one of these, they should totally make it a free public API. I'd use it, and I'm not certain if that would just be ironically.

2 comments

  > Running an API Forwarder that could act as a common target for all your APIs might work.
That just sounds like adding another point of failure into the chain.
I'd say it only makes sense if you control the forwarder.
But it's one that you can fix.
Maybe we can convince IANA to host a simple API, on example.com as well.