Ext.Ajax.request ({ url: 'employé/Recherche',
méthode : 'POST',
têtes: { "Content-Type": » application/json », "Accepter": "application/json", "autorisation": "OAuth oauth_token = 158ghhBtgf2586525hggfgdf"},
jsonData: {
"FirstName": txtFirstName.getValue()
},
succès : function (response) {
},
échec: func tion (réponse) {
}
});Comment appeler API Web à partir ExtJS avec l'authentification par jeton
Cela me donne 401 (Non autorisé Demande)