Dealing with offline APIs

Frank Tellefsen <tellefsenfrank@...>
 

Hi,

I'm using REST Client to fetch some stuff from this API (main_controller.rb @ http://runnable.com/U-QJCIFvY2RGWL9B/pretty-json-keys). However, if the API goes offline, my whole app will time out.

Is there a way to prevent that? I'd hate to think I should have gone with jQuery from the start.

Thanks!

Frank

Join main@rest-client.groups.io to automatically receive all group messages.