GET
tool-urlcodec
公开接口 累计 1 次/api/v1/tool-urlcodec
URL 编码与解码(rawurlencode / urlencode)
/api/v1/tool-urlcodec
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
text |
string |
必填 | - | 待处理文本 |
action |
string |
可选 | encode |
编码或解码方式 |
{
"ok": true,
"data": {
"result": {
"action": "encode",
"result": "hello%20world",
"length": 11
}
}
}
curl -X GET '/api/v1/tool-urlcodec?action=encode'