👤

随机用户生成

已测试可用GET
用户提供商: Random User Generator

生成随机用户信息,包含姓名、邮箱、地址、头像等

#用户#随机#数据#测试数据

请求地址

GET https://randomuser.me/api/

在线测试

GEThttps://randomuser.me/api/

注册并登录后即可在线测试 API

请求参数

参数名类型必填描述
qstring查询关键字
limitnumber返回数量限制
JavaScriptfetch
fetch('https://randomuser.me/api/')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
cURL命令行
curl "https://randomuser.me/api/"