mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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:
parent
23f490427f
commit
c4db3b8075
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue