阅读背景:

如何使用HTTParty处理错误?

来源:互联网 

I'm working on a Rails application using HTTParty to make HTTP requests. How can I handle HTTP errors with HTTParty? Specifically, I need to catch HTTP 502 & 503 and other errors like connection refused and timeout errors.I'm working on a Rails application using HTTPar




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

分享到: