Request new 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);
  }
});
Language
Click Try It! to start a request and see the response here!