# system.net.httpClient()

**URL:** <https://forum.inductiveautomation.com/t/system-net-httpclient/35317>\
**Category:** General Discussion\
**Created:** [June 4, 2020, 4:57am UTC](https://forum.inductiveautomation.com/t/system-net-httpclient/35317 "2020-06-04T04:57:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashwin.m](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@ashwin.m](https://forum.inductiveautomation.com/u/ashwin.m)\
**Post date:** [June 4, 2020, 4:57am UTC](https://forum.inductiveautomation.com/t/system-net-httpclient/35317/1 "2020-06-04T04:57:17Z")

</div>

Hi,  
I tried using system.net.httpClient() in the web dev module to access another API, but with i run the resource it shows an error where i have declared the in built function.  
I could not figure out what’s causing that error.

 ![httpClientError](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/70c54df20b52b1e64625022b70d9645c36744539.png) ![system.net.httpClient](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/0836f7f3147f793ea1f53430422e3995441a7f5a.png)
