阅读背景:

如何优雅地处理已故的API

来源:互联网 

With twitter being down today I was thinking about how to best handle calls to an API when it is down. If I am using CURL to call their api how do I cause the script to fail quickly and handle the errors so as not to slow down the application?With twitter being down today I was thinking ab




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: