在控制台中执行此操作:
>require 'httparty'
=> true
> response = HTTParty.get( "..." )
....
> response.class
=> HTTParty::Response
Run Code Online (Sandbox Code Playgroud)
所以来自的反应HTTParty.get是一个HTTParty::Response对象.
请参阅此博文标题为"这是HTTParty的时间!" 了解有关如何处理此响应的更多信息.
| 归档时间: |
|
| 查看次数: |
2731 次 |
| 最近记录: |