# Triggers and HTTP

**URL:** <https://forum.canton.network/t/triggers-and-http/4749>\
**Category:** App Development\
**Created:** [June 17, 2022, 9:49am UTC](https://forum.canton.network/t/triggers-and-http/4749 "2022-06-17T09:49:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derek](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@Derek](https://forum.canton.network/u/Derek)\
**Post date:** [June 17, 2022, 9:49am UTC](https://forum.canton.network/t/triggers-and-http/4749/1 "2022-06-17T09:49:20Z")

</div>

Hello Damlers,

Is it possible to create a trigger that whenever a certain contract is created, sends an http message to an API?

Thank you

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [June 17, 2022, 9:56am UTC](https://forum.canton.network/t/triggers-and-http/4749/2 "2022-06-17T09:56:07Z")

</div>

No that’s not possible. Daml Triggers can only read & write to the ledger not send or receive HTTP requests.

For that, try building something using the Java bindings.

---

<div class="post-metadata">

**Author:** ![Derek](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@Derek](https://forum.canton.network/u/Derek)\
**Post date:** [June 21, 2022, 8:58am UTC](https://forum.canton.network/t/triggers-and-http/4749/3 "2022-06-21T08:58:58Z")

</div>

Hello, can you point me to some Example Projects other than documentation [one](https://github.com/digital-asset/ex-java-bindings).

Thank you

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [June 21, 2022, 9:17am UTC](https://forum.canton.network/t/triggers-and-http/4749/4 "2022-06-21T09:17:25Z")

</div>

The examples in the [docs](https://docs.daml.com/app-dev/bindings-java/index.html) are your best option here.
