提交 0f5d866f 编写于 作者: R root

[TD-1587]<test> add python restful example

上级 1c3b799d
......@@ -41,7 +41,7 @@ class RestfulInsert:
requests.post(self.url, data, headers = self.header)
def run(self):
data = "drop database if exist test"
data = "drop database if exists test"
requests.post(self.url, data, headers = self.header)
data = "create database test keep 7300"
requests.post(self.url, data, headers = self.header)
......@@ -57,7 +57,4 @@ class RestfulInsert:
ri = RestfulInsert()
ri.init()
ri.run()
ri.run()
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册