encr

API Name

encr

Description

Encrypts the textual data passed to this API.

REST Methods

POST

Precondition

Request body text will be encrypted 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 the entire Request Body will be encrypted and returned.

Return

HTTP 200 status code is returned and the response contains the encrypted representation of the input text.

Sample Response

Exception

Response.Status.INTERNAL_SERVER_ERROR.