The Movie Database Support Forum

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.

3 Antworten (Seite 1 von 1)

Jump to last post

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

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.

Hi Michael,

Happy to hear you figured it out.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden