diff options
| author | Tom Christie | 2013-09-17 23:49:03 -0700 |
|---|---|---|
| committer | Tom Christie | 2013-09-17 23:49:03 -0700 |
| commit | eb0a98ad4b031be5742b5d257b847404c2e5249b (patch) | |
| tree | da69561a09997bc996876a162643a5d3de9105f2 | |
| parent | e8c6cd5622f62fcf2d4cf2b28b504fe5ff5228f9 (diff) | |
| parent | 3d8fad04446110db93ed2a13866e91beb9604934 (diff) | |
| download | django-rest-framework-eb0a98ad4b031be5742b5d257b847404c2e5249b.tar.bz2 | |
Merge pull request #1115 from soncco/patch-1
Fixing simple typo
| -rw-r--r-- | docs/tutorial/2-requests-and-responses.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md index 30966a10..6ff97f37 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -147,7 +147,7 @@ Similarly, we can control the format of the request that we send, using the `Con # POST using form data curl -X POST http://127.0.0.1:8000/snippets/ -d "code=print 123" - {"id": 3, "title": "", "code": "123", "linenos": false, "language": "python", "style": "friendly"} + {"id": 3, "title": "", "code": "print 123", "linenos": false, "language": "python", "style": "friendly"} # POST using JSON curl -X POST http://127.0.0.1:8000/snippets/ -d '{"code": "print 456"}' -H "Content-Type: application/json" |
