Skip to content
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

HTTP Post endpoints with custom HTTP Body #1568

Closed
nathanielc opened this issue Sep 18, 2017 · 2 comments · Fixed by #1572
Closed

HTTP Post endpoints with custom HTTP Body #1568

nathanielc opened this issue Sep 18, 2017 · 2 comments · Fixed by #1572
Assignees
Milestone

Comments

@nathanielc
Copy link
Contributor

The HTTP Post Node should allow for the body to be customizable. This way Kapacitor will be able to inter-operate with many different systems since the body can be customized.

Proposal:

  • Add a template option to an httppost endpoint configuration that contains a Go template.
    Use a similar structure to alert messages to populate data for the template evaluation step.
  • Add a template_file option which lets you define a template via an absolute file path instead of placing the template directly in the configuration.

@desa Thoughts?

@desa
Copy link
Contributor

desa commented Sep 18, 2017

sounds good to me.

@dali20022
Copy link

Hi,

Any news for this proposition please ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants