提交 75f88a4c 编写于 作者: W wenxianping

1

上级 de76b2c8
......@@ -34,6 +34,7 @@ class RClient(object):
params.update(self.base_params)
files = {'image': ('a.jpg', im)}
r = requests.post('http://api.ruokuai.com/create.json', data=params, files=files, headers=self.headers)
print(r)
return r.json()
def rk_report_error(self, im_id):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册