0

Created on one content editor webpart and calling

_api/VideoService/Channels('channelId')/Videos

using jquery ajax call, getting 404 error. Below is my ajax code

    $.ajax({
        type: 'GET',
        url: url,
        async: false,
        crossDomain: true,
        contentType: "application/json",
        dataType: 'jsonp',
        success: function () {
            alert("success");
        },
        error: function (err) {
            alert(err.status + " (" + err.statusText + ")");
        }
    });
4

0 に答える 0