I need to make mobile app using sencha as client and django as server
I am sending request as follows to server
url: 'http://localhost:8000/api/user/?format=jsonp',
method: 'GET',
headers : {'Authorization' : CryptoJS.HmacSHA256("password", "1154590211545902"),'Content-Type':'application/json;charset=utf-8'
}
I need to query request.META.get(‘HTTP_AUTHORIZATION’) with the password in the database.
request.META.get(‘HTTP_AUTHORIZATION’) return encrypted value for the password like ea121221rtrtrt7878237878787 which is irreversible
Any ideas?
Thank you
1 Answer