Преглед изворни кода

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…
Откажи
Сачувај