decr

API Name

decr

Description

Decrypts the textual data passed to this API.

REST Methods

POST

Precondition

The Request body text will be decrypted and hence it is not required to pass the parameters or attributes. The input for this API must be in a plain text.

Input Params

Sample Request

MIME type is text/plain and entire Request Body will be decrypted and returned. The data passed in must be previously encrypted by calling encr, only then can it be successfully decrypted by this API.

Return

HTTP 200 status code is returned and the Response contains the decrypted representation of the input text.

Sample Response

Exception

Response.Status.INTERNAL_SERVER_ERROR.