post https://testapi.imis.com/Asi.Scheduler_SDKDemo/Token
Create a new Bearer access_token
.
jQuery.ajax("https://myserver.com/token", {
type: "POST",
data: {
"grant_type":"password",
"username":"MyUsername",
"password":"MyPassword"
},
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
success: function(data) {
console.log(data);
}
});