Re: Authentication over JSON

2012-01-08 Thread Kevin Anthony
I'm having a problem with authentication from libcurl in C. This works fine from my android/iPhone apps, and from the browser, but libcurl can't authenticate. here's how i'm doing it in django: authentication function: user = authenticate(username=username, password=password) request.session['memb

Re: Authentication over JSON

2012-01-08 Thread Kevin Anthony
https://docs.djangoproject.com/en/1.3/topics/auth/#authentication-in-web-requests On Sun, Jan 8, 2012 at 12:20 PM, Stodge wrote: > This link is giving me a Page Not Found. > > On Jan 7, 1:10 pm, Michael Elkins wrote: > > On Sat, Jan 07, 2012 at 11:52:26AM -0500, Kevin Anthony wrote: > > >I have

Re: Authentication over JSON

2012-01-08 Thread Stodge
This link is giving me a Page Not Found. On Jan 7, 1:10 pm, Michael Elkins wrote: > On Sat, Jan 07, 2012 at 11:52:26AM -0500, Kevin Anthony wrote: > >I have a small exposed json API, currently it doesn't require > >authentication, but i'd like to integrate it with django's authentication. > > A q

Re: Authentication over JSON

2012-01-07 Thread Michael Elkins
On Sat, Jan 07, 2012 at 11:52:26AM -0500, Kevin Anthony wrote: I have a small exposed json API, currently it doesn't require authentication, but i'd like to integrate it with django's authentication. A quick google search came up empty, and i was wondering if anyone had any recommendations on how

Authentication over JSON

2012-01-07 Thread Kevin Anthony
I have a small exposed json API, currently it doesn't require authentication, but i'd like to integrate it with django's authentication. A quick google search came up empty, and i was wondering if anyone had any recommendations on how to do this? -- Thanks Kevin Anthony www.NoSideRacing.com Do