|
5
|
+INSERT INTO sensor_types VALUES (6, 'HTTP request', 'App\Http\Business\Sensors\HttpRequestSensor', '{"Url": "http://127.0.0.1/sensor", "Method": "POST", "Options": {"headers": {"X-Custom-Header": "value", "Content-Type": "application/json"}, "body": "{\"some\": \"JSON content\"}"}, "Mapping": {"Values": {"ON": 1, "OFF": 0}, "ValuesDefault": 0}}');
|