-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhook should include addtional information in the call #12
Comments
Estimation according to Definition of DONE. |
In addition to writing new unit tests, would you like me to refactor the existing one so that it uses chai, nock and sinon? |
@shanthoshp, yes, it is point |
uaArsen
pushed a commit
that referenced
this issue
Jul 26, 2019
uaArsen
added a commit
that referenced
this issue
Jul 26, 2019
uaArsen
added a commit
that referenced
this issue
Jul 26, 2019
Completed in #14 |
Not fully done. Re-opening. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create the following flow:
Publish and start the flow and then call the webhook with:
https://in.elastic.io/hook/5d25e4598370bfb1c7c4696a/Something?abc=def
Observe the incoming message in the code component. It is:
Observe that
msg.headers
contains all the HTTP headers sent in the requestmsg.url
contains the URL that was called, including additional data as part of the pathmsg.method
contains the HTTP verb of the callIdeally, all of that should be added to the body of the message emitted from webhook so that it is instead:
The text was updated successfully, but these errors were encountered: