Why is this request not working:
var obj = { url: 'http://api.themoviedb.org/3/discover/movie', headers: { api_key: '###', year: '2000' }, dataType: 'json', type: 'GET', traditional: true, global: false, success: function (data) { alert(data); console.dir(data); }, error: function (jqXHR, textStatus) { alert(textStatus); console.dir(jqXHR); } }; $.ajax(obj);
in the DevOps Networking shows an OPTIONS request, not a GET. has to do with cross domain issues?
doing this simply in the searchBar works O.K.:
http://api.themoviedb.org/3/discover/movie?api_key=###&page=2
any help would be appreciated.
Yaron
Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de yaron hochman
em 8 abril 2015 às 4:58 PM
thank you!