Your output should look similar to this. We’ll cover sending data to this url.
Webhook "my-webhook" created with url: https://infinyon.cloud/webhooks/v1/[random string]
If you need this url again, you can run this command to list your webhooks, and their urls.
$ fluvio cloud webhook list
Example output
NAME TOPIC URL
my-webhook my-webhook-topic https://infinyon.cloud/webhooks/v1/[random string]
Send data to webhook
We’ll be sending json data {"key": "value"} to our webhook using curl. Replace the url so [random string] matches your unique url. Keep this command close because we’ll refer to this example curl command later.
Running the example curl command output only the body of the request. Our request data is included, but it was automatically modified so it can be a valid json value.
{"key":"value"}
Conclusion
You now know how to create and configure the output of Webhooks. Check out the Webhook Config reference to see how to configure other transformations.