mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-07 22:04:48 +03:00
Minor docs update
This commit is contained in:
parent
2d28390386
commit
744dba44fa
|
@ -26,7 +26,7 @@ Core API command line client.
|
||||||
|
|
||||||
$ pip install coreapi-cli
|
$ pip install coreapi-cli
|
||||||
|
|
||||||
The first
|
First we'll load the API schema using the command line client.
|
||||||
|
|
||||||
$ coreapi get http://127.0.0.1:8000/
|
$ coreapi get http://127.0.0.1:8000/
|
||||||
<Pastebin API "http://127.0.0.1:8000/">
|
<Pastebin API "http://127.0.0.1:8000/">
|
||||||
|
@ -44,6 +44,7 @@ The first
|
||||||
retrieve(id)
|
retrieve(id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
At this point we're able to see all the available API endpoints.
|
||||||
|
|
||||||
We can now interact with the API using the command line client:
|
We can now interact with the API using the command line client:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user