The Movie Database qoldaýy

Can I use the jQuery $.ajax() method instead of the provided sample code? For some reason I am attempting this but it is not working:


$(function() {
    alert("Hi");
    $.ajax({
        url: "http://private-174c-themoviedb.apiary.io/3/search/movie?api_key=[pastedMyApiKeyHere]",
        contentType: "application/json",
        type: "GET",
        crossDomain: true,
        success: function(data) {
            alert("It worked");
        },
        error: function(err) {
            alert(JSON.stringify(err));
        }
    });
});

Any insight would be greatly appreciated. Thank you!

2 jaýap (1 ishinen 1 betinde)

Jump to last post

First, our API doesn't support JSONP without adding a callback param. Try adding it to your quest.

http://private-174c-themoviedb.apiary.io/3/search/movie?api_key=[pastedMyApiKeyHere]&callback=test

Secondly, remember Apiary is only to be used for testing. Make sure to try that request on the real production end point.

That helped - thanks!

Fılmdi nemese kórsetimdi taba almadyńyz ba? Ony jasaý úshin kirińiz.

Ǵalamdyq

s kezelimdi izdeý jolaǵyna aýystyrý
p profaıl mázirin ashý
esc ashyq terezeni jabý
? perneler tirkesimi terezesin ashý

Tasyǵyshtar betterinde

b artqa oralý (nemese qoldanylatyn bolsa, tektikke)
e óńdeý betine ótý

Telemaýsym betterinde

(oń jaq kórsetki) kelesi telemaýsymǵa ótý
(sol jaq kórsetki) aldyńǵy telemaýsymǵa ótý

Epizod betterinde

(oń jaq kórsetki) kelesi epızodqa ótý
(sol jaq kórsetki) aldyńǵy epızodqa ótý

Barlyq keskin betterinde

a keskin ústeý terezesin ashý

Barlyq óńdeý betterinde

t tárjime tańdaǵyshyn ashý
ctrl+ s pishindi jiberý

Talqylaý betterinde

n jańa talqylaýdy jasaý
w qaralǵan kúıin aýystyrý
p jalpy/jekeni aýystyrý
c jabý/ashýdy aýystyrý
a áreketterdi ashý
r talqylaýǵa jaýap berý
l sońǵy jaýapqa ótý
ctrl+ enter habaryńyzdy jiberý
(oń jaq kórsetki) kelesi betke
(sol jaq kórsetki) aldyńǵy betke

Parametrler

Want to rate or add this item to a list?

Kirý