I need to create a secure restFUL api using sencha and django. I am fairly new to python. So far i am able to send request from sencha to server using basic authentication as below
"Authorization": "Basic asdjksdfsksf="
$headers = apache_request_headers();
You can access them within a view using
request.META, which is a dictionary.
If you wanted the Authorization header, you could do
If you're creating a restful API from scratch, you might want to take a look at using tastypie.