The Movie Database Support Forum

I requested an API key and have began to try and play with the API, but every request seems to return a 404!

What am I doing wrong? `` curl https://api.themoviedb.org/search/tv\?query\=test\&api_key\=xxx

404 Not Found

404 Not Found


nginx
``

Thanks

5 Antworten (Seite 1 von 1)

Jump to last post

Bump... Little help! :D

I use this command with curl: curl -LGs --data-urlencode "query=true detective" --data api_key=XXX --data language=es http://api.themoviedb.org/3/search/tv

Another working cURL example:

curl --include \
--header "Accept: application/json" \
'http://api.themoviedb.org/3/search/tv?api_key=###&query=true+detective'

Thanks I was missing the /3/ api version!

Heh, indeed you were! I didn't notice that. D'oh!

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