CipherResource Resource

Rest resource to encrypt values.

Available Since
1.41

POST /api/rest/security/cipher/encrypt

Encrypts the request body and returns an encrypted string. This method can only executed with administration privileges.

Request Body
media type data type description
application/json string (JSON) value to encrypt
application/xml string (XML)
Response Codes
code condition
200 success
500 internal server error
Response Body
media type data type description
text/plain (custom) unique key

Example

Request
POST /security/cipher/encrypt
Content-Type: application/json
Accept: text/plain

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: text/plain

                
...