文本

Base64 编码

0次调用
免费接口

这是一个简单实用的 Base64 编码工具。

POST
uapis.cn
/api/v1/text/base64/encode
Body
text
string
required

text field

功能概述

你提供一段原始文本,我们帮你转换成 Base64 编码的字符串。

请求体

text
string必填

响应

200 / 请求成功

成功响应

JSON
{
  "encoded": "aGVsbG8gd29ybGQ="
}

400 / 错误的请求

无效的请求参数

JSON
{
  "code": "INVALID_ARGUMENT",
  "details": {},
  "message": "Missing 'text' field."
}