Browse files

update

  • Loading branch information...
1 parent 75dbe50 commit 465a2684ad3568cdfe94b2fb0dc92e824d534d31 @tj tj committed Nov 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 api.html
View
4 api.html
@@ -643,9 +643,9 @@
</code></pre><p>Finally when a <code>Number</code> is given without
any of the previously mentioned bodies, then a response
body string is assigned for you. For example 200 will
-respond will the text "OK", and 204 "Not Found" and so on.
+respond will the text "OK", and 404 "Not Found" and so on.
</p><pre class="js"><code>res.send(200)
-res.send(204)
+res.send(404)
res.send(500)</code></pre></section><section><h3 id="res.json">res.json([status|body], [body])</h3><p>Send a JSON response. This method is identical
to <code>res.send()</code> when an object or
array is passed, however it may be used for

0 comments on commit 465a268

Please sign in to comment.