Quit out of the shell…
…and start up Django's development server.
We can test our API using or httpie. Httpie is a user friendly http client that's written in Python. Let's install that.
You can install httpie using pip:
Or we can get a particular snippet by referencing its id:
Similarly, you can have the same json displayed by visiting these URLs in a web browser.