Get Webhook Arguments
Command description
Get the request data sent to the workflow's webhook.
Command Input Parameters
None
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| Arguments | any |
Webhook request example:
import requests
url = "http://10.211.55.3:9389/7137505bf801-4cbb-8fea-e45b5310bff3"
# Customize the request data and read it with the Get Webhook Arguments command.
payload = {
"k1": "v1",
"k2": 2
}
resp = requests.post(url, json=payload)
print(resp.status_code)
print(resp.text)