From 0acb268603fca3653731900479f0883ff8660cd5 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Mon, 30 Mar 2015 21:07:55 -0700 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fed63905..8d80d10a 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ func createUser(c *echo.Context) { u := new(user) if c.Bind(u) { users[u.ID] = *u - c.JSON(http.StatusOK, u) + c.JSON(http.StatusCreated, u) } } @@ -107,6 +107,7 @@ func main() { // Start server e.Run(":8080") } + ``` ### Benchmark