test

9 / 100


$(document).ready(function () {
var userName = 'test';
var password = 'test';
var token = '';
var endPoint = `http://test-feeds.globusfamily.com.au/api/v1/authenticate/${userName}/${password}`;
$.ajax({
url: endPoint,
method: 'POST',
headers: {
'accept': 'application/json'
},
success: function (data) {
token = data.accessToken;
},
error: function (error) {
console.log(error.responseJSON.Message);
}
});
});

Scroll to Top