Openvidu webhook example

Hi to everyone, I am looking to an example of how to use webhook of openvidu server do have any to suggest me?
and after I setup webhook how can read events in my java application from the url (http://example :5000/session-events)
Please help me

You have to create an REST endpoint on your backend and point the webhook to it.

Before that May I test it by postman or curl if yes how?
Do you have an example for CURL command please?

Hi,

You first need to understand the concept of Webhook. You cannot test it with curl or Postman, becasuse those are not REST API endpoints. Those are REST API clients, to perform REST operations. Just as the webhook.
You need a REST API endpoint to receive REST API operations from a client. That client could be curl, Postman or OpenVidu Webhook.