Hi I am seeing a strange issue with the remove watch list webservice. Below are the details of my request
URL: https://api.themoviedb.org/3/account/**/movie_watchlist?api_key=***&session_id=***
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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Manohar
on January 29, 2018 at 8:35 AM
THis is the response I get
Reply by Manohar
on January 30, 2018 at 12:57 AM
ANy Update please
its important
Reply by Travis Bell
on January 30, 2018 at 3:55 AM
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:Reply by Manohar
on January 30, 2018 at 10:06 PM
Thank you Travis. It worked now. I was following some other post and used the above.
Thank you again