Username and Password as a POST request

3 views
Skip to first unread message

code-zoop

unread,
Oct 28, 2008, 7:20:22 AM10/28/08
to Django REST interface
Hello.

Thanks for a great addon to Django. I am implementing a CRM system in
Django and will be using Adobe Flex as the front end, and by that
reason I am using this REST interface for communication between client
and server.

I am havig a little problem getting my head around this interface so
some advice would be really great.

So what I am trying to do is to use a POST request where I have the
username and password defined for each request to the interface, but I
can't see how I can pass username and password into the request, and
then check the user from the Django side. For me it looks like Django
always tries to add the post data to the database (this is just my
understanding looking at the example code, and just a guessing). How
should I implmenet a simple POST request with the username and
password?

Also, any advice for testing the POST requests? testing GET is fearly
simple using a browser and the url, but testing POST requests is
another story.

Thanks for a great addon and for the help.
Reply all
Reply to author
Forward
0 new messages