# Http post tag values

**URL:** <https://forum.inductiveautomation.com/t/http-post-tag-values/68810>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [January 19, 2023, 6:53pm UTC](https://forum.inductiveautomation.com/t/http-post-tag-values/68810 "2023-01-19T18:53:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Bermingham](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@Kevin\_Bermingham](https://forum.inductiveautomation.com/u/Kevin_Bermingham)\
**Post date:** [January 19, 2023, 6:53pm UTC](https://forum.inductiveautomation.com/t/http-post-tag-values/68810/1 "2023-01-19T18:53:54Z")

</div>

Hey Folks,

Total newbie here.

I am trying to figure out how to script within Ignition to send the value of a tag to an API gateway and deliver the value in JSON format.

So effective use a httppost method to read a live tag value and post it to an API in JSON format.

Would appreciate anyone advice.

Kevin

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [January 19, 2023, 6:56pm UTC](https://forum.inductiveautomation.com/t/http-post-tag-values/68810/2 "2023-01-19T18:56:11Z")

</div>

Check out this thread, should have enough examples to give you good idea.  
[Connecting to Smart Home Devices - Maker - Inductive Automation Forum](https://forum.inductiveautomation.com/t/connecting-to-smart-home-devices/44771/27)

Edit:  
Also, here is the manual reference on how to use `system.net.httpClient()`  
[system.net.httpClient - Ignition User Manual 8.1 - Ignition Documentation (inductiveautomation.com)](https://docs.inductiveautomation.com/display/DOC81/system.net.httpClient)
