GET
hash
公开接口 累计 0 次/api/v1/demo/hash
计算字符串的 SHA-256 摘要
/api/v1/demo/hash
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
text |
string |
必填 | - | 待计算文本 |
{
"ok": true,
"data": {
"text": "hello",
"sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
},
"request_id": "..."
}
curl -X GET '/api/v1/demo/hash'