Hi I am seeing a strange issue with the remove watch list webservice. Below are the details of my request
Body:
{"movie_id":"9487","movie_watchlist":true}
I have used post to hit the service and it responds with 201 created. But it is not removing from the list. Is there anything I am doing wrong here
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Manohar
le 28 janvier 2018 à 16h35
THis is the response I get
Réponse de Manohar
le 29 janvier 2018 à 08h57
ANy Update please
its important
Réponse de Travis Bell
le 29 janvier 2018 à 11h55
Hi @manohar1991,
You're not removing your item from the watchlist properly. That's not how you do it. Take a look at the account watchlist method. To add and remove an item, you pass a boolean in the body.
URL: https://api.themoviedb.org/3/account/###/watchlist?api_key=***&session_id=***
Add to watchlist body:
Remove from watchlist body:
Make sure to pass the
Content-Type
header. Here's a cURL example:Réponse de Manohar
le 30 janvier 2018 à 06h06
Thank you Travis. It worked now. I was following some other post and used the above.
Thank you again