Services/Sync/Server/API/User/1.0: Difference between revisions

Fixed the doc about X-Weave-Secret
(Fixed the doc about X-Weave-Secret)
Line 88: Line 88:
| captcha-response
| captcha-response
| The response to the captcha. Only required if WEAVE_REGISTER_USE_CAPTCHA is set
| The response to the captcha. Only required if WEAVE_REGISTER_USE_CAPTCHA is set
|- valign="top"
| secret
| If set, the shared secret, which will override the captcha (for testing and automation)
|}
|}
An '''X-Weave-Secret''' header can be provided containing a secret string known by the server. When provided, it will override the captcha. This is useful for testing and automation.


The server will return the lowercase username on success, or an error message if some portion of the process fails.
The server will return the lowercase username on success, or an error message if some portion of the process fails.
Confirmed users
927

edits