随机字符串,我们致力于为用户提供专业的免费API数据接口服务
生成指定长度的随机字符串
https://qhapi.com/api/randstr/api.php
https://qhapi.com/api/randstr/api.php?apikey=你的API密钥(登录后获取)&length=长度&type=类型
点击右侧按钮复制完整请求地址,参数值请替换为实际有效值
| 参数名 | 是否必填 | 参数类型 | 参数说明 |
|---|---|---|---|
|
apikey
|
是 | string |
你的API密钥(登录后获取)
点击登录获取秘钥 |
|
length
|
否 | int | 长度 |
|
type
|
否 | string | 类型 |
| 参数名 | 参数类型 | 参数说明 |
|---|---|---|
|
length
|
string | 长度 |
|
type
|
string | 类型 |
|
result
|
string | result |
{
"code": 200,
"msg": "success",
"data": {
"length": "长度",
"type": "类型",
"result": "示例值"
}
}