GET api/Helper/{code}?text={text}

Encrypt a text to set in Web.config as AppSetting

Request Information

URI Parameters

NameDescriptionTypeAdditional information
text

String to encrypt

string

Required

code

string

None.

Body Parameters

None.

Response Information

Resource Description

Encrypted text

string

Response Formats

application/json, text/json, text/plain

Sample:
"sample string 1"