We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28e10ca commit db06501Copy full SHA for db06501
doc/source/examples.rst
@@ -176,6 +176,10 @@ Let's now test it:
176
# Prints out: {"name":"John Doe","email":"john.doe@example.com"}
177
$ curl -v localhost:3000/user/2
178
# Prints out: {"name":"Jane Doe","email":"jane.doe@example.com"}
179
+
180
+ $ curl -v localhost:3000/user/10
181
+ # will fail with 400/BadRequest
182
183
$ curl -v localhost:3000/users
184
# Prints out: [
185
# {"name":"John Doe","email":"john.doe@example.com"},
0 commit comments