Posting JSON Data to a Django App: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == The goal is to create a Django app that accepts JSON data via POST requests. == External resources == * [http://django-tastypie.readthedocs.org/en/latest/ Ta...") |
|||
| Line 5: | Line 5: | ||
== External resources == | == External resources == | ||
* [http://django-tastypie.readthedocs.org/en/latest/ TastyPie documentation] | * [http://django-tastypie.readthedocs.org/en/latest/ TastyPie documentation] (API package)<br />The Tastypie package seems best used as a simple interface between JSON and reads/writes to a database. It does do that very easily, but I was frustrated in using it to de/serialize objects and JSON POST data. | ||
* [http://www.djangopackages.com/grids/g/api/ Django packages that support API creation] | * [http://www.djangopackages.com/grids/g/api/ Django packages that support API creation] | ||
* [http://stackoverflow.com/questions/10128900/how-to-post-json-to-django How to Post JSON to Django] (StackOverflow) | * [http://stackoverflow.com/questions/10128900/how-to-post-json-to-django How to Post JSON to Django] (StackOverflow) | ||
[[Category:Django]] [[Category:Python]] [[Category:Web Development]] | [[Category:Django]] [[Category:Python]] [[Category:Web Development]] | ||
Revision as of 15:35, 22 February 2013
Overview
The goal is to create a Django app that accepts JSON data via POST requests.
External resources
- TastyPie documentation (API package)
The Tastypie package seems best used as a simple interface between JSON and reads/writes to a database. It does do that very easily, but I was frustrated in using it to de/serialize objects and JSON POST data. - Django packages that support API creation
- How to Post JSON to Django (StackOverflow)