HTTP 请求测试
HTTP 请求测试工具,支持 GET、POST、PUT、DELETE 等方法,生成 curl、fetch、axios 代码片段,可选真发请求(受 CORS 限制),适用于接口调试与代码生成
cURL
curl -X GET 'https://api.example.com/users' \ -H 'Content-Type: application/json'
fetch
fetch("https://api.example.com/users", {
method: 'GET',
headers: {
"Content-Type": "application/json"
}
})axios
axios({
url: "https://api.example.com/users",
method: 'get',
headers: {
"Content-Type": "application/json"
}
})使用说明
配置请求方法、URL、Header、Body,生成 curl/fetch/axios 代码片段。可选真实发送请求查看响应。