diff options
Diffstat (limited to 'api4/post.go')
-rw-r--r-- | api4/post.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/post.go b/api4/post.go index af5fc8cfa..9c671ec21 100644 --- a/api4/post.go +++ b/api4/post.go @@ -52,6 +52,7 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) { return } + w.WriteHeader(http.StatusCreated) w.Write([]byte(rp.ToJson())) } |