locked
Programmatically connection TFS-2015 (kerberos Authentication) using Javascript RRS feed

  • Question

  • I try to connect Programmatically TFS-2015 (kerberos Authentication)
    I am using below JS-Code on IE-Console as a test , but it didnt work :(

    $.ajax({
    url:
    "
    https://<server>/<collection>/_apis/wit/workitems/api-version=3.0",
    type: 'GET',
    crossDomain: true,
    dataType: 'json',
    xhrFields: {
    withCredentials: true
    }
    }).done(function(data){ console.log('done');
    console.log(data);
    }).fail(function(jqXHR,textStatus ,errorThrown){
    console.log('error'); console.log(errorThrown);
    });


    it gives me this response


    any one can help mehelp me?

     
    Saturday, May 13, 2017 10:28 AM