Note the sandbox API a couple more times, just in case they didn't get the message yet.

parent e4fff6ea
...@@ -3,6 +3,16 @@ ...@@ -3,6 +3,16 @@
Getting Started - Model Resources Getting Started - Model Resources
--------------------------------- ---------------------------------
.. note::
A live sandbox instance of this API is available:
http://api.django-rest-framework.org/model-resource-example/
You can browse the API using a web browser, or from the command line::
curl -X GET http://api.django-rest-framework.org/resource-example/ -H 'Accept: text/plain'
Often you'll want parts of your API to directly map to existing django models. Django REST framework handles this nicely for you in a couple of ways: Often you'll want parts of your API to directly map to existing django models. Django REST framework handles this nicely for you in a couple of ways:
#. It automatically provides suitable create/read/update/delete methods for your resources. #. It automatically provides suitable create/read/update/delete methods for your resources.
......
...@@ -3,6 +3,16 @@ ...@@ -3,6 +3,16 @@
Getting Started - Resources Getting Started - Resources
--------------------------- ---------------------------
.. note::
A live sandbox instance of this API is available:
http://api.django-rest-framework.org/resource-example/
You can browse the API using a web browser, or from the command line::
curl -X GET http://api.django-rest-framework.org/resource-example/ -H 'Accept: text/plain'
We're going to start off with a simple example, that demonstrates a few things: We're going to start off with a simple example, that demonstrates a few things:
#. Creating resources. #. Creating resources.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment