DocuWare/Webhook-examples ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple webhook endpoint example for DocuWare that listens on port 5000 and accepts POST requests at a webhook route.

I want it to be easy to run and understand, with a small server that just receives the request body, checks that it is valid JSON, and prints it to the console. If the body is not valid JSON, it should handle that cleanly instead of crashing. Please make it feel like a practical sample I could use to test DocuWare webhooks, not a full production app.

If there are a few language options in this project, keep the main one clear and runnable, and make the setup steps simple. Add any basic instructions needed so I can start it and send a test webhook right away. If you need to look up current docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab