# Http post perspective and where the code executes

**URL:** <https://forum.inductiveautomation.com/t/http-post-perspective-and-where-the-code-executes/67722>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 16, 2022, 4:46pm UTC](https://forum.inductiveautomation.com/t/http-post-perspective-and-where-the-code-executes/67722 "2022-12-16T16:46:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David.Reed.Schmidt](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@David.Reed.Schmidt](https://forum.inductiveautomation.com/u/David.Reed.Schmidt)\
**Post date:** [December 16, 2022, 4:46pm UTC](https://forum.inductiveautomation.com/t/http-post-perspective-and-where-the-code-executes/67722/1 "2022-12-16T16:46:38Z")

</div>

I want to run code to post to an API and this code has to execute on the Ignition server. We are using Perspective and the session has a button that run the system.util.httpsPost. Is this code executed on the Perspective session or does the code execute on the Ignition server? If this needs to run on the Ignition side then what are my options. I suppose I can create a tag and a tag change script but I find that solution to be not as creative as I want it to be. I am looking for to your suggestions.

---

<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:** [December 16, 2022, 4:52pm UTC](https://forum.inductiveautomation.com/t/http-post-perspective-and-where-the-code-executes/67722/2 "2022-12-16T16:52:26Z")

</div>

_All_ scripting in Perspective is actually executing from the gateway. Web browsers can't (pedants: don't) run Python code.
