Confirmed users
188
edits
Line 12: | Line 12: | ||
== Status Codes == | == Status Codes == | ||
* 400 Bad Request -- Will be returned if there was an error in the client's request. The numbers in the response body indicate what the errors were. | * 400 Bad Request -- Will be returned if there was an error in the client's request. The numbers in the response body indicate what the errors were. | ||
* 405 Method Not Allowed -- Trying to use GET where POST is to be used, and other such mismatches. No body. | * 405 Method Not Allowed -- Trying to use GET where POST is to be used, and other such mismatches. No body. | ||
* 201 Created -- Returned when an account as been successfully created. Body will contain a number to be interpreted as indicated in the table below. | * 201 Created -- Returned when an account as been successfully created. Body will contain a number to be interpreted as indicated in the table below. | ||
* 417 Expectation Failed -- Returned when the client submitted all data correctly, except for the captcha elements. The response body will contain the HTML code required to display a new captcha. | * 417 Expectation Failed -- Returned when the client submitted all data correctly, except for the captcha elements. The response body will contain the HTML code required to display a new captcha. | ||
* 200 OK -- Returned when the user's password was changed successfully. No body. | * 200 OK -- Returned when the user's password was changed successfully. No body. | ||