This project is used to trial the use of django-rest-knox. It's starting point is a cutdown version of drf-tut-baseline.
Take note of the comments in the django-rest-knox documentation regarding operating system prerequisites.
Add a snippet.
$ echo -n '{"id": 1,"title": "","code": "foo = \"bar\"\n","linenos": false,"language": "python","style": "friendly"}' | http POST localhost:8000/snippets/
View all snippets.
$ http http://localhost:8000/snippets/