Store Community Support Documentation

In

example.html 

 $.ajax({
            url: 'https://www.******.com/restful_api/token';,

            type: 'POST',
            data: {grant_type:'authorization_code', code:'b7d66f0a929388847e839dfd4d96a49fc4f8a669'},

          
            beforeSend: function () {
            },
            success: function(msg){
        alert( "Data Saved: " + msg );
  },
 error: function(xhr, textStatus, error){
      console.log(xhr.statusText);
      console.log(textStatus);
      console.log(error);
  }

This Page Sends This Error

 https://www.*****.com/restful_api/token/

400 (Bad Request)

 

How i can solve it ?

Last update on July 9, 2:20 pm by mustang.