# Receive HTTP data

**URL:** <https://forum.inductiveautomation.com/t/receive-http-data/45322>\
**Category:** Ignition\
**Created:** [April 7, 2021, 4:04am UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322 "2021-04-07T04:04:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jd1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jd1/32/18928_2.png) [@jd1](https://forum.inductiveautomation.com/u/jd1)\
**Post date:** [April 7, 2021, 4:04am UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322/1 "2021-04-07T04:04:57Z")

</div>

I have a wifi connected temperature sensor that has the ability to send its temp data via HTTP GET or HTTP POST. Is there any way to have Ignition receive the HTTP data and store it in a tag?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 7, 2021, 11:25am UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322/2 "2021-04-07T11:25:49Z")

</div>

Run a gateway timer script that uses [httpClient()](https://docs.inductiveautomation.com/display/DOC81/system.net.httpClient). Write results to a memory tag.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 7, 2021, 4:20pm UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322/3 "2021-04-07T16:20:04Z")

</div>

Also, GET and POST are request verbs; your temperature sensor (almost certainly) isn’t pushing data anywhere, it’s just making it available to be requested.

---

<div class="post-metadata">

**Author:** ![jd1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jd1/32/18928_2.png) [@jd1](https://forum.inductiveautomation.com/u/jd1)\
**Post date:** [April 7, 2021, 4:26pm UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322/4 "2021-04-07T16:26:23Z")

</div>

That’s what I though. Which is why the manual for the temp sensor is confusing me.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/d/1df94ac5dd8704e8ff444fc18f48fbb5cc1529f4.png)

Any thoughts?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 7, 2021, 4:29pm UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322/5 "2021-04-07T16:29:29Z")

</div>

Huh, so it does appear to actually be broadcasting. You would probably want Webdev to handle those pushes, then; just set up a Python resource and you can parse the incoming URL parameters and log them into tags/whatever else you want to do. Technically you might be able to construct a Perspective page that handles the URL parameters accordingly, but it would be somewhat fragile and very confusing to set up.

---

<div class="post-metadata">

**Author:** ![aaron1](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@aaron1](https://forum.inductiveautomation.com/u/aaron1)\
**Post date:** [October 3, 2022, 4:31am UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322/6 "2022-10-03T04:31:32Z")

</div>

Hi @jd1, I am looking at a similar application. Did you end up having to use the WebDev module? or did you manage to retrieve the data using the httpClient() funcation?

Thanks.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 3, 2022, 12:19pm UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322/7 "2022-10-03T12:19:42Z")

</div>

As @paul-griffith noted, from the manual info posted, that device is **sending** the data with HTTP. So the WebDev module is required to receive. `httpClient` (and the older `httpPut`/`httpGet`) are initiators, not receivers.

---

<div class="post-metadata">

**Author:** ![jd1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jd1/32/18928_2.png) [@jd1](https://forum.inductiveautomation.com/u/jd1)\
**Post date:** [October 3, 2022, 12:51pm UTC](https://forum.inductiveautomation.com/t/receive-http-data/45322/8 "2022-10-03T12:51:00Z")

</div>

We ended up going a different route, and I never did get this working unfortunately.
