Legacy: encode → util.encode
encodeConvert text into base64, hex, or URL encoding. Specify the text and format to get encoded output.
Instructions
Legacy alias for util.encode (GET /v1/encode). Prefer util.encode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Text to encode. | |
| format | No | Encoding format. | base64 |