HTTP Status 201 not 200

The http status should be 201 not 200.

Docker-DCO-1.1-Signed-off-by: Erik Kristensen <erik@erikkristensen.com> (github: SvenDowideit)
This commit is contained in:
Erik Kristensen 2014-09-08 11:18:13 -06:00 committed by Sven Dowideit
parent 23f490427f
commit c4db3b8075
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ file is empty.
**Valid**:
return HTTP 200
return HTTP 201
Errors: HTTP 400 (we should create error codes for possible errors) -
invalid json - missing field - wrong format (username, password, email,