With the request below I delete the tv show from watchlist but when I get the watchlist again I receive a watchlist with this item in it. Adding is working just fine instead of false I send True. I saw that you don't have delete from watchlist also on your site. What should I do ?
REQUEST:
POST http://api.themoviedb.org/3/account/1396/watchlist?api_key=MYAPIKEY&session_id=MYSESSIONID HTTP/1.1 Accept-Encoding: gzip Accept: application/json Content-Length: 57 Content-Type: application/json; charset=utf-8 Host: api.themoviedb.org Connection: Keep-Alive Pragma: no-cache Cookie: _ga=GA1.2.226218752.1443841333
{"media_type":"tv","media_id":"1396","watchlist":"False"}
RESPONSE:
HTTP/1.1 201 Created Access-Control-Allow-Origin: * Cache-Control: public, max-age=0 Content-Type: application/json;charset=utf-8 Date: Wed, 07 Oct 2015 01:50:39 GMT Server: openresty Status: 201 Created X-RateLimit-Limit: 40 X-RateLimit-Remaining: 39 X-RateLimit-Reset: 1444182649 Content-Length: 79 Connection: keep-alive
{"status_code":12,"status_message":"The item/record was updated successfully."}
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ أكتوبر 7, 2015 في 12:09 مساءا
Hi Dzivo,
Make sure you're sending a boolean and not a string (might as well send an integer for the id while you're at it):
Cheers.
رد بواسطة Dzivo
بتاريخ أكتوبر 7, 2015 في 2:12 مساءا
Thx that did the trick