Re: How to receive json data using HTTP POST request in Django 1.6?

2014-06-10 Thread Alok Singh Mahor
thank you Malcolm, I will try that too On Tue, Jun 10, 2014 at 4:47 PM, Malcolm Box wrote: > Simplest answer is to use Django Rest Framework, which makes this > extremely easy. > > Malcolm > > > On Monday, 9 June 2014 11:20:05 UTC+1, Alok Singh Mahor wrote: >> >

How to receive json data using HTTP POST request in Django 1.6?

2014-06-09 Thread Alok Singh Mahor
Hi all, I am trying to receive JSON data using HTTP POST in django 1.6. I tried using request.POST['data'], request.raw_post_data, request.body but none is working for me. I have posted question and code at http://stackoverflow.com/questions/24068576/how-to-receive-json-data-using-http-post-req