# Best Practice Question. Tag Event Trigger a HTTP Request

**URL:** <https://forum.inductiveautomation.com/t/best-practice-question-tag-event-trigger-a-http-request/89220>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [April 22, 2024, 4:03pm UTC](https://forum.inductiveautomation.com/t/best-practice-question-tag-event-trigger-a-http-request/89220 "2024-04-22T16:03:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 22, 2024, 4:05pm UTC](https://forum.inductiveautomation.com/t/best-practice-question-tag-event-trigger-a-http-request/89220/2 "2024-04-22T16:05:58Z")

</div>

> [@Zachary\_Kacel1](#):
>
> is this the best way to do this?

No, probably not.

The best way is to create a Tag Change Script in the same project you defined that script in, and then call it from the change script.

Do not confuse Tag Event Scripts for Tag Change Scripts in this case. Tag Event Scripts are quite sensitive to the speed of execution and would require your project with the library be defined as the Gateway Scripting Project.

> **[Gateway Event Scripts | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/platform/scripting/scripting-in-ignition/gateway-event-scripts#tag-change-scripts)**
>
> Gateway Event Scripts Overview

---

_[View the full topic](https://forum.inductiveautomation.com/t/best-practice-question-tag-event-trigger-a-http-request/89220)._
