GET
tool-hex
公开接口 累计 1 次/api/v1/tool-hex
字符串与十六进制互转
/api/v1/tool-hex
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
text |
string |
必填 | - | 待处理文本或十六进制字符串 |
action |
string |
可选 | encode |
encode / decode |
{
"ok": true,
"data": {
"result": {
"action": "encode",
"result": "68656c6c6f",
"bytes": 5
}
}
}
curl -X GET '/api/v1/tool-hex?action=encode'