Suporte do The Movie Database

Hi. I have problem with response in json format. Im requesting GET request https://api.themoviedb.org/3/movie/1900/credits?api_key=myapikey&callback=json But don't reciving response in json format. What's wrong with my request?

1 resposta (na página 1 de 1)

Jump to last post

Hi mikhailtpm,

By using the callback param, you're actually calling JSONP and what this is doing is wrapping your JSON in a JavaScript function. Regular JSON is returned by not specifying the callback param. I'm not sure which you're expecting, but it is working as designed (regular JSON):

{"adult":false,"backdrop_path":"/1edydp18PYIaihYLfG52e3v9jwQ.jpg"...

Vs. JSONP (callback=test):

test({"adult":false,"backdrop_path":"/1edydp18PYIaihYLfG52e3v9jwQ.jpg"...

Cheers.

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade