This repository was archived by the owner on Aug 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
examples/ffmpeg/deploy/webhook/mc/http Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,19 @@ Config
5858 output_mode: json
5959 input_mode: bytes:payload
6060 forward_headers: webhook_headers
61+ immediate_response:
62+ status: 200
63+ content_type: application/json
64+ data:
65+ status: Received
6166 EOF
6267
63- Note that the input_mode is ``bytes:payload ``, this means that inputs from post request will
64- be passed as bytes to the dataflow with ``payload `` definition..
68+ Note that the input_mode is ``bytes:payload ``, this means that inputs
69+ from post request will be passed as bytes to the dataflow with
70+ ``payload `` definition. We don't want to wait until the dataflow
71+ completes running to send a response back, so we also add an
72+ ``immediate_response `` to the server configuration.
73+
6574
6675Deploy it in port 8081 as 8080 is being used by ffmpeg http service
6776
Original file line number Diff line number Diff line change 11path : /webhook/github
22output_mode : json
33input_mode : bytes:payload
4- forward_headers : webhook_headers
4+ forward_headers : webhook_headers
5+ immediate_response :
6+ status : 200
7+ content_type : application/json
8+ data :
9+ status : Received
You can’t perform that action at this time.
0 commit comments