小小API是一个稳定 快速 的 API 接口服务   点击加入QQ群

随机生成密码

GEThttps://v2.xxapi.cn/api/password

接口描述

免费API提供随机生成密码的服务,支持多种密码复杂度和长度,确保生成安全且独特的密码,适用于用户注册、系统安全和应用开发。

请求参数

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: 'https://v2.xxapi.cn/api/password?length=20'
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
	"code": 200,
	"msg": "数据请求成功",
	"data": "6506o8xrl6flkda5c1olm9wjdlxbvw82pj7ptwzz8c7zeqgaqt"
}