HTTParty :: Response的实例具有一个code属性,其中包含HTTP响应的状态代码。它以整数形式给出。 ... response = HTTParty.post(uri, options) p response.success?
確定! 回上一頁