使用最新的imageInfo接口规格。

This commit is contained in:
Liang Tao
2014-02-08 17:11:25 +08:00
parent 1a1affc3d3
commit 5e8e69a339
+3 -3
View File
@@ -7,12 +7,12 @@ module Qiniu
include Utils
def info(url)
Utils.http_request url + '/imageInfo', nil, {:method => :get}
end
Utils.http_request url + '?imageInfo', nil, {:method => :get}
end # info
def exif(url)
Utils.http_request url + '?exif', nil, {:method => :get}
end
end # exif
def preivew_url(url, spec)
url + '/imagePreview/' + spec.to_s