# system.net.httpClient() causes java.io.IOException while system.net.httpGet() works fine

**URL:** <https://forum.inductiveautomation.com/t/system-net-httpclient-causes-java-io-ioexception-while-system-net-httpget-works-fine/45547>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [April 13, 2021, 7:09pm UTC](https://forum.inductiveautomation.com/t/system-net-httpclient-causes-java-io-ioexception-while-system-net-httpget-works-fine/45547 "2021-04-13T19:09:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [April 13, 2021, 9:34pm UTC](https://forum.inductiveautomation.com/t/system-net-httpclient-causes-java-io-ioexception-while-system-net-httpget-works-fine/45547/4 "2021-04-13T21:34:05Z")

</div>

Actually, `httpClient` doesn't do you any favors with `multipart/form-data` at present either (☹). I've seen customers use `requests` in Ignition directly; you can access `pip` to install it more easily using the method outlined here:

> [@Procedure for installing python libraries from source](http://forum.inductiveautomation.com/t/procedure-for-installing-python-libraries-from-source/26022/2):
>
> There’s actually a procedure you can use to use pip from within Jython to install packages, then link Ignition’s Jython lib to an-off-the-shelf Jython lib and use that…however, the article specifically calls out the twilio module as not working, because one of its dependencies, cffi, has C dependencies (IE, won’t work in Jython). For posterity, here’s the procedure, copied verbatim from an internal document: 0) On the server, install Java 8 if you haven’t already. Download the full Jython 2.…

---

_[View the full topic](https://forum.inductiveautomation.com/t/system-net-httpclient-causes-java-io-ioexception-while-system-net-httpget-works-fine/45547)._
