# HTTP.Request with https url?

**URL:** <https://forums.plex.tv/t/http-request-with-https-url/7335>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [January 10, 2011, 11:12pm UTC](https://forums.plex.tv/t/http-request-with-https-url/7335 "2011-01-10T23:12:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asap18](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@asap18](https://forums.plex.tv/u/asap18)\
**Post date:** [January 10, 2011, 11:12pm UTC](https://forums.plex.tv/t/http-request-with-https-url/7335/1 "2011-01-10T23:12:26Z")

</div>

Whenever I try to do this and Log the content of the response, I get a URLError: .   
  
  
  
Is https not supported in HTTP.Request? Confused because I swear the Hulu plugin does it.

---

<div class="post-metadata">

**Author:** ![pierre1313](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pierre1313/32/523_2.png) [@pierre1313](https://forums.plex.tv/u/pierre1313)\
**Post date:** [January 12, 2011, 11:43pm UTC](https://forums.plex.tv/t/http-request-with-https-url/7335/2 "2011-01-12T23:43:11Z")

</div>

I have experienced that issue too, it’s not working 100% I don’t think, found a workaround though :

```auto

<br />
import urllib, urllib2<br />
...<br />
handler = urllib2.build_opener(urllib2.HTTPCookieProcessor())<br />
urllib2.install_opener(handler)<br />
p1=Prefs['parameter1']<br />
p2=Prefs['parameter2']<br />
params = urllib.urlencode({"param1": p1, "param2": p2})<br />
f = handler.open("https://wwww.xxxx", params)<br />
data = f.read()<br />
f.close()<br />

```

  
  
hope that helps

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:57pm UTC](https://forums.plex.tv/t/http-request-with-https-url/7335/3 "2019-12-20T20:57:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
