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
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Manohar
στις 28 Ιανουάριος 2018 στις 04:35 ΜΜ
THis is the response I get
Απάντηση από τον/την Manohar
στις 29 Ιανουάριος 2018 στις 08:57 ΕΊΜΑΙ
ANy Update please
its important
Απάντηση από τον/την Travis Bell
στις 29 Ιανουάριος 2018 στις 11:55 ΕΊΜΑΙ
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:Απάντηση από τον/την Manohar
στις 30 Ιανουάριος 2018 στις 06:06 ΕΊΜΑΙ
Thank you Travis. It worked now. I was following some other post and used the above.
Thank you again