浏览代码

added Multiple and HttpRequest commands

tags/0.1.4^0
Robin Thoni 5 年前
父节点
当前提交
ededaa6d09
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      sql/data_0_1_4.sql

+ 6
- 0
sql/data_0_1_4.sql 查看文件

@@ -0,0 +1,6 @@
1
+--
2
+-- Data for Name: command_types; Type: TABLE DATA; Schema: public; Owner: dev
3
+--
4
+
5
+INSERT INTO command_types VALUES (4, 'HTTP request', 'App\Http\Business\Commands\HttpRequestCommand', '{"Url": "http://127.0.0.1/action", "Method": "POST", "Options": {"headers": {"X-Custom-Header": "value", "Content-Type": "application/json"}, "body": "{\"some\": \"JSON content\"}"}}');
6
+INSERT INTO command_types VALUES (5, 'Multiple commands', 'App\Http\Business\Commands\MultipleCommand', '{"Commands": [{"Type": "HttpRequest", "Data": {"Url": "http://127.0.0.1/action", "Method": "POST", "Options": {"headers": {"X-Custom-Header": "value", "Content-Type": "application/json"}, "body": "{\"some\": \"JSON content\"}"}}}]}');

正在加载...
取消
保存