mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Fixes incorrect snippet endpoint in serialization tutorial
There is a block showing how to get a particular snippet's data using httpie. The trailing slash on the URL causes a 404 to be returned. This commit removes that trailing slash.
This commit is contained in:
parent
dafbe65ff6
commit
bb5caba82f
|
@ -358,7 +358,7 @@ Finally, we can get a list of all of the snippets:
|
|||
|
||||
Or we can get a particular snippet by referencing its id:
|
||||
|
||||
http http://127.0.0.1:8000/snippets/2/
|
||||
http http://127.0.0.1:8000/snippets/2
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue
Block a user