This works well when I pass "{\"URL_PATH\":\"%s/config\"}" as the data to the publish triggering the webhook.
I would like to now create a POST webhook where a similar URL_PATH needs to be passed along with a JSON payload which is pre-constructed in my code. I can't seem to figure out how to create the full JSON string to send to the webhook where it splits the URL_PATH as above and the JSON payload to send. I have tried the following without luck.
@gusgonnet, on both. I need to a) understand how to setup the POST webhook and b) understand how to format the outgoing publish to correctly "populate" the webhook URL and body to successfully hit the target site.
So the problem ended up being how I was publishing a test using CLI. Formatting the correct JSON text was incorrect. Instead, I coded the test publish data in a simple web application and the webhook correctly fired with the {{{URL_PATH}}} and {{{payload}}} working as expected. Thanks @gusgonnet for your help!