The Movie Database-ondersteuning

Hi. I have been playing with the API for a while and I found that, a valid movie doesn't return status_code, while an invalid movie does.

According to the docs, every response has its code including success. But the is no status code on a valid movie which it should with the code 1.

Am I missing something here? Can I just check if status_code exists or not to validate a response? Because I believe only problematic responses will have the status_code but not a valid and successfull API request.

Thanks

1 antwoord (op pagina 1 van 1)

Jump to last post

Hi @psycholyzern,

It's true, status_code is only returned on select responses. You're the first person to bring this up, which is interesting. I've created a new ticket for this here.

Thanks for the report.

Film of tv-serie niet gevonden? Log dan in om deze te creëren.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op TV seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met TV-programma's

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c gesloten of open
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen