SendEventCustomBody - usil/eventhos-web Wiki

Send an event from a producer to a consumer system with a custom body

In this video it will be shown how to conduce this use case.

📹 video

Parts

These objects body, query params, headers, oauth2-response are merged in one to be easy to query them using jsonpath

{
  "body" : {....},
  "query" : {....},
  "headers" : {....},
  "oauthResponse" : {
    "body" : {....},
    "headers" : {....}
  }
}

Jsopath

${.body.userId}

Forward original body

{}

Oauth2 Client Security

image

  • clientid/clientsecret are sent as json
  • oauthResponse.body oauthResponse.headers will contain the data ready to be used with jsonpath
⚠️ **GitHub.com Fallback** ⚠️