Re: Sending data to the server

2012-03-28 Thread drk
tps://docs.djangoproject.com/en/dev/ref/contrib/csrf/ > > >> It will 403 POST requests unless they have the right token. > > >> Jim > > >> On Sun, Mar 25, 2012 at 11:24 PM, drk <darkiii...@gmail.com> wrote: > >> > Hi, so I have a application tha

Re: Sending data to the server

2012-03-26 Thread drk
M, drk <darkiii...@gmail.com> wrote: >> > Hi, so I have a application that works offline (with localStorage), >> > and now I'm trying to get it to work in a server. >> > >> > I'm having a problem sending the data to server, I'm using jquery: >> > >>

Re: Sending data to the server

2012-03-26 Thread drk
kiii...@gmail.com> wrote: > > Hi, so I have a application that works offline (with localStorage), > > and now I'm trying to get it to work in a server. > > > > I'm having a problem sending the data to server, I'm using jquery: > > > > $.ajax({ > > >

Re: Sending data to the server

2012-03-26 Thread jim
alStorage), > and now I'm trying to get it to work in a server. > > I'm having a problem sending the data to server, I'm using jquery: > > $.ajax({ > >    type: 'POST', >    url: 'http://mysite.aa/logout/', >    data: JSON.stringify( stuff ), >    contentType: 'te

Sending data to the server

2012-03-25 Thread drk
Hi, so I have a application that works offline (with localStorage), and now I'm trying to get it to work in a server. I'm having a problem sending the data to server, I'm using jquery: $.ajax({ type: 'POST', url: 'http://mysite.aa/logout/', data: JSON.stringify( stuff