I'm trying to query with parameters. For example:
http://api.themoviedb.org/3/discover/movie?api_key=KEY&year=1999
No matter what parameters I add to a query, it just returns the default output as if the added parameters were not there.
I'm wondering if it's something wrong with my api key? It's been a while.
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Michael Stubblefield
il 13 luglio, 2016 alle 7:19PM
So I just tried it in a browser and it works correctly. It is only giving me this problem with curl:
curl http://api.themoviedb.org/3/discover/movie?api_key=KEY&year=1999
Risposta da Michael Stubblefield
il 14 luglio, 2016 alle 11:30AM
so figured it out. if anyone sees the same issue, you need to quote the url from the command line. If not quoted, '&' is interpreted by bash.
Risposta da Travis Bell
il 15 luglio, 2016 alle 10:43AM
Hi Michael,
Happy to hear you figured it out.