# Client post different requests

**URL:** <https://forums.plex.tv/t/client-post-different-requests/138899>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [March 15, 2016, 5:43am UTC](https://forums.plex.tv/t/client-post-different-requests/138899 "2016-03-15T05:43:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![psycik](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@psycik](https://forums.plex.tv/u/psycik)\
**Post date:** [March 15, 2016, 5:43am UTC](https://forums.plex.tv/t/client-post-different-requests/138899/1 "2016-03-15T05:43:45Z")

</div>

I’ve been fixing an issue caused by the .9.16 upgrade. In doing so I came home to test a change and found that ios would not playback from my channel.

A working requet from chrome, roku or plexbmc looks like  
[http://127.0.0.1:32400/video/nextpvr/videoclipobject?container=mp2ts&title=TV+ONE+%3A+Millionaire+Hot+Seat&url=http%3A%2F%2FMorgoth.lan%3A8866%2Flive%3Fchannel%3D1%26sid%3Dplex%26client%3D31EE14DD-9B6A-401B-B166-8109242C13FE&includeRelated=False&include\_container=True&summary=Who+will+survive+the+Hot+Seat%3F+Six+contestants+go+head+to+head+to+win+the+cash.+Hosted+by+Eddie+McGuire%2C+Millionaire+Hot+Seat+is+a+game+of+strategy%2C+skill+and+survival.&rating\_key=1.0&channel=7224](http://127.0.0.1:32400/video/nextpvr/videoclipobject?container=mp2ts&title=TV+ONE+%3A+Millionaire+Hot+Seat&url=http%3A%2F%2FMorgoth.lan%3A8866%2Flive%3Fchannel%3D1%26sid%3Dplex%26client%3D31EE14DD-9B6A-401B-B166-8109242C13FE&includeRelated=False&include_container=True&summary=Who+will+survive+the+Hot+Seat%3F+Six+contestants+go+head+to+head+to+win+the+cash.+Hosted+by+Eddie+McGuire%2C+Millionaire+Hot+Seat+is+a+game+of+strategy%2C+skill+and+survival.&rating_key=1.0&channel=7224)

You can see that characters are converted to url encoded as above \*ie http:// becomes http%3A%2F%2F

But IOS seems to be doing some else weird: http%253A%252F%252F like it’s been passes through the urlencode twice.  
[http://127.0.0.1:32400/video/nextpvr/videoclipobject?container%3Dmp2ts%26title%3DTV2%2B1%2B%3A%2BFriends%26url%3Dhttp%3A%2F%2FMorgoth.lan%3A8866%2Flive%3Fchannel%3D7%26sid%3Dplex%26client%3D31EE14DD-9B6A-401B-B166-8109242C13FE%26includeRelated%3DFalse%26include\_container%3DTrue%26summary%3DFollowing%2BRachel%27s%2Bacceptance%2Bof%2BJoey%27s%2Baccidental%2Bproposal%2C%2Bconfusion%2Breigns%2Bas%2BRachel%2Bwonders%2Bwhether%2Bit%2Bwas%2Bthe%2Bright%2Bthing%2Bto%2Bdo.%26rating\_key%3D7.0%26channel%3D7240](http://127.0.0.1:32400/video/nextpvr/videoclipobject?container%3Dmp2ts%26title%3DTV2%252B1%2B%253A%2BFriends%26url%3Dhttp%253A%252F%252FMorgoth.lan%253A8866%252Flive%253Fchannel%253D7%2526sid%253Dplex%2526client%253D31EE14DD-9B6A-401B-B166-8109242C13FE%26includeRelated%3DFalse%26include_container%3DTrue%26summary%3DFollowing%2BRachel%2527s%2Bacceptance%2Bof%2BJoey%2527s%2Baccidental%2Bproposal%252C%2Bconfusion%2Breigns%2Bas%2BRachel%2Bwonders%2Bwhether%2Bit%2Bwas%2Bthe%2Bright%2Bthing%2Bto%2Bdo.%26rating_key%3D7.0%26channel%3D7240)

What would cause, as when I post both these urls in the browser, the top gives me a mediacontainer, the bottom a 400 error.

---

<div class="post-metadata">

**Author:** ![psycik](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@psycik](https://forums.plex.tv/u/psycik)\
**Post date:** [March 15, 2016, 6:22pm UTC](https://forums.plex.tv/t/client-post-different-requests/138899/2 "2016-03-15T18:22:36Z")

</div>

So some different testing this morning. Below I tried from the WAN and I was able to get video no problems.  
Mar 16, 2016 07:14:08:869 [30176] DEBUG - Downloading document [http://127.0.0.1:32400/video/nextpvr/videoclipobject?container=mp2ts&title=TV3+PLUS1+%3A+Paul+Henry&url=http%3A%2F%2FMorgoth.lan%3A8866%2Flive%3Fchannel%3D8%26sid%3Dplex%26client%3D31EE14DD-9B6A-401B-B166-8109242C13FE&includeRelated=False&include\_container=True&summary=Hosted+by+Paul+Henry%2C+this+TV3+and+RadioLIVE+news+show+provides+you+with+all+the+news%2C+views+and+interviews+you+need+to+know+to+start+the+day.&rating\_key=8.0&channel=7237](http://127.0.0.1:32400/video/nextpvr/videoclipobject?container=mp2ts&title=TV3+PLUS1+%3A+Paul+Henry&url=http%3A%2F%2FMorgoth.lan%3A8866%2Flive%3Fchannel%3D8%26sid%3Dplex%26client%3D31EE14DD-9B6A-401B-B166-8109242C13FE&includeRelated=False&include_container=True&summary=Hosted+by+Paul+Henry%2C+this+TV3+and+RadioLIVE+news+show+provides+you+with+all+the+news%2C+views+and+interviews+you+need+to+know+to+start+the+day.&rating_key=8.0&channel=7237)

But this was an hour earlier at home: on the LAN - and nothing happened the IOS client opens the playback screen for half a second then closes.  
Mar 16, 2016 06:13:52:656 [29864] DEBUG - Downloading document [http://127.0.0.1:32400/video/nextpvr/videoclipobject?container%3Dmp2ts%26title%3DTV%2BONE%2B%3A%2BBreakfast%26url%3Dhttp%3A%2F%2FMorgoth.lan%3A8866%2Flive%3Fchannel%3D1%26sid%3Dplex%26client%3D31EE14DD-9B6A-401B-B166-8109242C13FE%26includeRelated%3DFalse%26include\_container%3DTrue%26summary%3DStart%2Byour%2Bday%2Boff%2Bright%2Bwith%2BNew%2BZealand%27s%2BBreakfast%2C%2Bgiving%2Byou%2Bbreaking%2Bnews%2C%2Bthe%2Blatest%2Bweather%2C%2Band%2Beverything%2Belse%2Byou%2Bneed%2Bto%2Bget%2Ba%2Bhead%2Bstart%2Bfor%2Bthe%2Bday.%26rating\_key%3D1.0%26channel%3D7224](http://127.0.0.1:32400/video/nextpvr/videoclipobject?container%3Dmp2ts%26title%3DTV%2BONE%2B%253A%2BBreakfast%26url%3Dhttp%253A%252F%252FMorgoth.lan%253A8866%252Flive%253Fchannel%253D1%2526sid%253Dplex%2526client%253D31EE14DD-9B6A-401B-B166-8109242C13FE%26includeRelated%3DFalse%26include_container%3DTrue%26summary%3DStart%2Byour%2Bday%2Boff%2Bright%2Bwith%2BNew%2BZealand%2527s%2BBreakfast%252C%2Bgiving%2Byou%2Bbreaking%2Bnews%252C%2Bthe%2Blatest%2Bweather%252C%2Band%2Beverything%2Belse%2Byou%2Bneed%2Bto%2Bget%2Ba%2Bhead%2Bstart%2Bfor%2Bthe%2Bday.%26rating_key%3D1.0%26channel%3D7224)

---

<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:56pm UTC](https://forums.plex.tv/t/client-post-different-requests/138899/3 "2020-01-08T19:56:18Z")

</div>

Closed on January 8, 2020, 7:56pm UTC


