💯

数字趣闻

已测试可用GET
数学与计算提供商: Numbers API

获取关于数字的有趣事实

#数字#趣闻#数学#知识

请求地址

GET http://numbersapi.com/random/trivia

在线测试

GEThttp://numbersapi.com/random/trivia

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

请求参数

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