Recaptcha

Recaptcha

The recaptcha endpoint.

GET /api/recaptcha

Retrieve the recaptcha information.

Response Content

If no recapture is configured, you will receive HTTP 200 with no response data.

Otherwise the response will be a JSON object, consisting of the following information.

Key Type Description
recaptcha_enabled Integer Boolean value indicating whether repatcha is enabled.
recaptcha_site_key String The recaptcha site key.

Examples

Request:

curl 'http://localhost/jarvis-agent/n2fe/api/recaptcha'  -H 'Cookie: N2FE_CGISESSID=4876c530f3d7252330a95ea51007f252'

Response:

{
	"recaptcha_enabled":1,
	"recaptcha_site_key":"6Ldq0lUUAAAAADSImRWk7KkjMMenxkTA3u62LLGC"
}