Integrating your product with webhookie to start sending events is straightforward using the REST API.
To publish an event to webhookie requires two steps. The first to get an access token and the second to post the event.
POST /auth/realms/webhookie/protocol/openid-connect/token HTTP/1.1 Host: localhost:8800 Authorization: Basic d2ViaG9va2llX2NsaWVudDo= Content-Type: application/x-www-form-urlencoded username=webhookie_admin&password=passwd1&grant_type=password
POST /ingress/event HTTP/1.1 Host: localhost:8000 wh-topic: createdPet wh-trace-id: 7b338cb9-bb17-4aee-9cc9-705af28a1cf9 Content-Type: text/plain Authorization: Bearer <access_token from previous step> Your test message
The following headers can be applied to the request when posting to the /consumer/event endpoint.
Powered by BetterDocs