From acb0a4f7ac74203d8d3a73ccf7c1e4421f1c2d5f Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 16 Sep 2011 17:01:58 +0200 Subject: REAKTOR/UDP: add Specs --- UDP/README | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 UDP/README diff --git a/UDP/README b/UDP/README new file mode 100644 index 0000000..d77ce7f --- /dev/null +++ b/UDP/README @@ -0,0 +1,40 @@ +# Specifications +From 2011-09-16: +## Use Case + { + { + "port": 1337, + "pattern": "XXYY", + "action" : { + "POST": { + "url" : "xyz", + "data" : "abc" + } + } + } + } +## Actions +### POST +"POST" : { + "url" : "http://euer.krebsco.de/", + "data" : "{ \"something\" : \"else\" }" + } + +### PROCESS +Process is taken from //hyper/process/test/bc.json - rev:a7fd3f + +stdout/stderr are optional and if left away data will be written to real stdout/stderr + + "PROCESS" : { + { + "path": "/usr/bin/bc", + "argv": [ + "bc" + ], + "envp": { + "was": "geht" + }, + "stdout": "/path/to/file", + "stderr": "/path/to/file" + } + } -- cgit v1.2.3