The Movie Database-ondersteuning

I'm in the process of updating my Qt Quick (QML/javascript) app from API v2.1 to v3 and I've run into some trouble with Add movie rating method (and the other POST methods as well).

When XMLHttpRequest (xhr) readystate 4 is triggered then xhr.status = 0 and responseHeader status is '400 Bad request'.

Both request headers and the POST URL are, as far as I can see, set correctly. My session id is valid since I can access movie_watchlist etc. I've tried the example javascript code in the API documentation with the same result. Any suggestions?

Post url: http://api.themoviedb.org/3/movie/679/rating?api_key=####&session_id=####

Thanks

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

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-series

(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 schakelen sluiten/openen
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