summaryrefslogtreecommitdiffstats
path: root/Reaktor/UDP/README
blob: d77ce7ffdb4ec349e7e31d7e9e86afa5f3db5e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"
    }
  }