2 ms·
Use POST. specify an "action=login". That's it. If you are using django tastypie and django rest framework have a way to do RPC. However can I suggest you try
by jtchang 12y ago
Use POST. specify an "action=login". That's it. If you are using django tastypie and django rest framework have a way to do RPC.
However can I suggest you try to do it in a REST-like manner?
User login and logout is kind of like Session management. You can create, update, delete Session objects.