首页 »  API接口 »  图片API »  网页二维码生成

网页二维码生成

浏览次数:15 次
📖 API文档
🧪 在线测试
⚠️ 错误码
💻 示例代码
接口地址
https://qr.wuhanup.com/pic.php?data=https://www.chuangxinwu.cn/
请求方式
GET
返回格式
JSON
接口状态
正常 (HTTP 200) 上次检测:2026-04-21 02:26:03
更新时间
2026-04-17 15:26:21
📝 接口描述
网页二维码生成
📋 请求示例
GET https://qr.wuhanup.com/pic.php?data=https://www.chuangxinwu.cn/# 带参数请求示例
https://qr.wuhanup.com/pic.php?data=https://www.chuangxinwu.cn/?param1=value1¶m2=value2
📤 真实返回示例
点击下方"刷新检测"按钮获取真实返回示例
📌 请求参数 (键值对)
📊 返回结果
点击"发起请求"查看返回数据
错误码说明
200请求成功
400请求参数错误
401未授权访问
403禁止访问
404接口不存在
500服务器内部错误
🔧 JavaScript (Fetch)
fetch('/api/proxy.php?url=https%3A%2F%2Fqr.wuhanup.com%2Fpic.php%3Fdata%3Dhttps%3A%2F%2Fwww.chuangxinwu.cn%2F', {
    method: 'GET',
    headers: { 'Content-Type': 'application/json' }
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
🐘 PHP (cURL)
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://qr.wuhanup.com/pic.php?data=https://www.chuangxinwu.cn/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
📡 Python (requests)
import requests
url = 'https://qr.wuhanup.com/pic.php?data=https://www.chuangxinwu.cn/'
response = requests.request('GET', url)
print(response.json())

同类推荐

🔥 同分类下热门接口