something like the below:
coprocessor:
timeout: 3s
url: http://localhost:5000/v2/authenticate
router:
request:
headers: true
context: true
body: true
condition:
exists:
request_header: authorization
- timeout: 3s
url: http://localhost:5000/account/flag
subgraph:
notification:
request:
headers: true
context: true
body: true
condition:
exists:
request_header: authorization