Post Shared Secret

Adds a new shared secret to the list of secrets entered by the user for decloaking purposes.

URL format: https://host/api/secret
HTTP Method: POST
HTTP Headers: x-xloak-authtoken: auth-token
x-xloak-k: APIkey
URL Parameters: None
POST body parameters: JSON structure that contains the field “secret” with the value of the shared secret. This shared secret is added to the user's list of shared secrets. An example JSON structure is:

{"secret": "green eyes”}

Returns: status code 200 if the addition of the secret succeeds. The data returned is the following:

{'message': '', 'result': 'OK'}

status code 403 if the request is made without a valid auth token.