Httppost as topic handler

Hi,
Is there way of using httppost as a topic-handler?
I would like to use it with the alert-template

I only see post in kapacitor 1.4rc1

Thanks

I think i figured it out

post.yaml

id: 'test_th'

topic: 'test_alerts'

kind: 'post'
options:
    endpoint: "test"

And then in the kapacitor config i can configure test endpoint for httppost

Hi.

I would just like to use post. not httppost. is there a way to give an endpoint that way.?

and how do i use it as a json, since i do not intend to use yaml.