Tuesday, July 24, 2012

json objects and PUT/GET Requests/Response

Hello,

I am new to both DJANFGO & REST.
Here is my problem,I have defined CRUD specific to that of MongoDB in my Models.py file, now I am trying to pass data to be written into this DB using http PUT requests.
1.How  parse json objects in the body of HTTP request ?
2.How to create HTTP put/get request for test purposes with json objects through CLI or GUI.

We have client side code(written in PERL) which will actually generate these requests but I want to test my server side code independently.

Thanks,
svs

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/CkfqZrQiknMJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment