Browse Source

added Multiple and HttpRequest commands

tags/0.1.4^0
Robin Thoni 5 years ago
parent
commit
ededaa6d09
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      sql/data_0_1_4.sql

+ 6
- 0
sql/data_0_1_4.sql View File

@@ -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…
Cancel
Save