Commit 3d8fad04 by Braulio Soncco

Fixing simple typo

parent e8c6cd56
...@@ -147,7 +147,7 @@ Similarly, we can control the format of the request that we send, using the `Con ...@@ -147,7 +147,7 @@ Similarly, we can control the format of the request that we send, using the `Con
# POST using form data # POST using form data
curl -X POST http://127.0.0.1:8000/snippets/ -d "code=print 123" 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 # POST using JSON
curl -X POST http://127.0.0.1:8000/snippets/ -d '{"code": "print 456"}' -H "Content-Type: application/json" curl -X POST http://127.0.0.1:8000/snippets/ -d '{"code": "print 456"}' -H "Content-Type: application/json"
......
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