diff options
author | makefu <github@syntax-fehler.de> | 2011-09-16 17:01:58 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2011-09-16 17:01:58 +0200 |
commit | 1df82a37249e46c50a95a933c4f9d3ca29636e70 (patch) | |
tree | 0fc0e20b1fe82026819a7610442ec66eccf159ed /Reaktor | |
parent | a7fd3fa12427f36770e6105fad8a0b59118a5647 (diff) |
REAKTOR/UDP: add Specs
Diffstat (limited to 'Reaktor')
-rw-r--r-- | Reaktor/UDP/README | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Reaktor/UDP/README b/Reaktor/UDP/README new file mode 100644 index 00000000..d77ce7ff --- /dev/null +++ b/Reaktor/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" + } + } |