瀏覽代碼

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\"}"}}}]}');

Loading…
取消
儲存