# HTTP Post data template

**URL:** <https://forums.losant.com/t/http-post-data-template/4607>\
**Category:** Help\
**Tags:** workflow, http\
**Created:** [June 24, 2022, 9:59am UTC](https://forums.losant.com/t/http-post-data-template/4607 "2022-06-24T09:59:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eduardo\_wewer](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@Eduardo\_wewer](https://forums.losant.com/u/Eduardo_wewer)\
**Post date:** [June 24, 2022, 9:59am UTC](https://forums.losant.com/t/http-post-data-template/4607/1 "2022-06-24T09:59:55Z")

</div>

Hi,

I have this working curl command that makes a downlink in TTN and would like to use the HTTP node to call it.

```auto
curl --location \
  --header 'Authorization: Bearer [redacted]
  --header 'Content-Type: application/json' \
  --header 'User-Agent: my-integration/my-integration-version' \
  --request POST \
  --data '{
    "downlinks": [{
      "frm_payload": "MjAwMA==",
      "f_port": 1
    }]
  }' \
  'https://eu1.cloud.thethings.network/api/v3/as/applications/dessak/devices/eui-0sssss3c75d/down/replace'

```

However I can’t figure out where to put the data template:  
[redacted]

Any ideas?

thanks

---

<div class="post-metadata">

**Author:** ![Sebastian\_Turner](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sebastian_turner/32/4024_2.png) [@Sebastian\_Turner](https://forums.losant.com/u/Sebastian_Turner)\
**Post date:** [June 24, 2022, 1:49pm UTC](https://forums.losant.com/t/http-post-data-template/4607/2 "2022-06-24T13:49:01Z")

</div>

Hi there! Your original post contained an authorization token. Being as this is a public forum, we strongly discourage posting any tokens or credentials. While it has been removed from the original post, you should consider that token compromised and generate a new one.

As far as formatting the HTTP node, please refer to the following documentation. Your `data` should go under Body Template. If you have any further questions, please let us know.

> **[HTTP Node](https://docs.losant.com/workflows/data/http/)**
>
> Learn more about the Losant HTTP Node.

---

<div class="post-metadata">

**Author:** ![Eduardo\_wewer](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@Eduardo\_wewer](https://forums.losant.com/u/Eduardo_wewer)\
**Post date:** [June 27, 2022, 11:50am UTC](https://forums.losant.com/t/http-post-data-template/4607/4 "2022-06-27T11:50:11Z")

</div>

Ok i did some testing and this works:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/a/a0b0e39074c656ab7b81c99b1c7e4094d760bc14.png)

thanks
