# HTTP PUT Request

**URL:** <https://forums.plex.tv/t/http-put-request/134475>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [February 8, 2016, 12:23am UTC](https://forums.plex.tv/t/http-put-request/134475 "2016-02-08T00:23:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_bernard](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@m\_bernard](https://forums.plex.tv/u/m_bernard)\
**Post date:** [February 8, 2016, 12:23am UTC](https://forums.plex.tv/t/http-put-request/134475/1 "2016-02-08T00:23:47Z")

</div>

Is there a way to issue an HTTP PUT request in a Plex channel? HTTP.Request(url, data=values) seems to issue POST requests, but the API I’m accessing requires PUT for certain operations.

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [February 8, 2016, 9:40pm UTC](https://forums.plex.tv/t/http-put-request/134475/2 "2016-02-08T21:40:22Z")

</div>

Try this:

httpResponse = HTTP.Request(myUrl, headers=MYHEADER, method=‘PUT’)

---

<div class="post-metadata">

**Author:** ![m\_bernard](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@m\_bernard](https://forums.plex.tv/u/m_bernard)\
**Post date:** [February 13, 2016, 6:35am UTC](https://forums.plex.tv/t/http-put-request/134475/3 "2016-02-13T06:35:31Z")

</div>

Thanks, that seems to work!

I’ve been using the API documentation that dane22 provided in this thread: [https://forums.plex.tv/discussion/172923/plugin-development-documentation#latest](https://forums.plex.tv/discussion/172923/plugin-development-documentation#latest)  
That doesn’t mention the “method” parameter. Is there a newer version of the documentation?

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [February 13, 2016, 11:35am UTC](https://forums.plex.tv/t/http-put-request/134475/4 "2016-02-13T11:35:41Z")

</div>

Sadly no, but the HTTP methode is build on top of urllib2, AFAIK

---

<div class="post-metadata">

**Author:** ![shopgirl284](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shopgirl284](https://forums.plex.tv/u/shopgirl284)\
**Post date:** [February 14, 2016, 1:57am UTC](https://forums.plex.tv/t/http-put-request/134475/5 "2016-02-14T01:57:16Z")

</div>

The[Missing from the Official Plugin Documentation](https://forums.plex.tv/discussion/87324/missing-from-the-official-plugin-documentation "Missing from the Official Plugin Documentation") thread may also be helpful.

The Framework link there is for the old site, so it no longer works, but the “here” link for the missing documentation document still works. It does not include the method, but there may be other helpful notes there.

---

<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:** [January 8, 2020, 7:55pm UTC](https://forums.plex.tv/t/http-put-request/134475/6 "2020-01-08T19:55:17Z")

</div>


