Hi,
Probably a dumb question but I'll ask anyway as I can't get it to work... how can I add or remove an item from the watchlist using the raw data method. I've tried all sorts of combinations, read and re-read the documentation and Googled for answers but not had any luck yet.
https://api.themoviedb.org/3/account/{id}/watchlist?api_key=XXXX&session_id=XXXX{"media_type": "movie","media_id": 127585,"watchlist": false}
Any help or a working example would be gratefully appreciated.
Thanks
找不到电影或节目?登录并创建它吧。
Ben Howard 的回复
于 2014 年 06 月 05 日 5:18下午
No one gonna throw me a bone :(
Travis Bell 的回复
于 2014 年 06 月 05 日 6:31下午
Hey Ben,
You need to POST the data in as JSON. In cURL, an working example looks like:
Ben Howard 的回复
于 2014 年 06 月 06 日 8:46上午
Hi Travis,
Thanks for the reply... I still don't get it but I'll go read up and see if I can learn more.
Thanks
Travis Bell 的回复
于 2014 年 06 月 06 日 5:06下午
What language are you coding in?
Ben Howard 的回复
于 2014 年 06 月 06 日 5:14下午
VB.NET, I tried the example but it doesn't work for me. Not had time this week to find out why.
Ben Howard 的回复
于 2014 年 06 月 06 日 6:48下午
The error I get is: The 'Accept' header must be modified using the appropriate property or method.
And the code I'm using looks like:
Ben Howard 的回复
于 2014 年 06 月 07 日 5:45上午
I got it sorted in the end... just for future reference or anyone else who needs a nudge in the right direction I've added my code below.
Thanks
Ben