Kaynağa Gözat

added Multiple and HttpRequest commands

tags/0.1.4^0
Robin Thoni 5 yıl önce
ebeveyn
işleme
ededaa6d09
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 6
    0
      sql/data_0_1_4.sql

+ 6
- 0
sql/data_0_1_4.sql Dosyayı Görüntüle

@@ -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…
İptal
Kaydet