/b64/encode
将文本进行 Base64 编码。通过 text 参数传入要编码的文本,返回编码后的字符串。
| 名称 | 位置 | 必填 | 说明 |
|---|---|---|---|
text |
query | 是 | 要编码的文本 |
curl "{{ORIGIN}}/b64/encode?text=hello+world"/b64/decode
将 Base64 编码的字符串解码为原始文本。通过 text 参数传入 Base64 字符串,返回解码后的字符串。
| 名称 | 位置 | 必填 | 说明 |
|---|---|---|---|
text |
query | 是 | 要解码的 Base64 字符串 |
curl "{{ORIGIN}}/b64/decode?text=aGVsbG8gd29ybGQ="