# httpClient Selector Manager Threads

**URL:** <https://forum.inductiveautomation.com/t/httpclient-selector-manager-threads/81664>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [November 8, 2023, 3:20pm UTC](https://forum.inductiveautomation.com/t/httpclient-selector-manager-threads/81664 "2023-11-08T15:20:26Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [March 15, 2024, 11:20am UTC](https://forum.inductiveautomation.com/t/httpclient-selector-manager-threads/81664/5 "2024-03-15T11:20:28Z")

</div>

> [@Hayden\_Watson](#):
>
> Define the `client = system.net.httpClient()` somewhere in there

Not just anywhere. At the "top" level, outside any function or class. That makes `client` a persistent global in that script.

> [@Hayden\_Watson](#):
>
> can `from utilities import client` this

Don't import Ignition script modules. Ever. Not in any form. This can create subtle bugs. Just use the full name `utilities.client` wherever you need it.

---

_[View the full topic](https://forum.inductiveautomation.com/t/httpclient-selector-manager-threads/81664)._
