Browse code

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)

Erik Kristensen authored on 2014/09/09 02:18:13
Showing 1 changed files
... ...
@@ -526,7 +526,7 @@ file is empty.
526 526
 
527 527
 **Valid**: 
528 528
 
529
-     return HTTP 200
529
+     return HTTP 201
530 530
 
531 531
 Errors: HTTP 400 (we should create error codes for possible errors) -
532 532
 invalid json - missing field - wrong format (username, password, email,