Alternative to urllib2 or system.net.httpPost?

Are there any alternatives to urllib2 or system.net.httpPost available in Ignition? I am working with an API that has a handful of post functions that return a 403 forbidden error using either of these methods but execute fine using Python’s requests library. I don’t believe there is a way to use Python requests in Ignition so are there any other alternative libraries/methods I could try? Thanks!

You can use HttpURLConnection directly.

Have you looked at Wireshark to see what’s different between your requests made between the different methods?

I get the same forbidden error with the HttpURLConnection. I have not used Wireshark before. Sounds helpful. I will look into it more. Thanks!