在线HTTP请求测试
https://xhnzz.com/index/api/http/api.php
POST
JSON
https://xhnzz.com/index/api/http/api.php

请求参数说明

名称必填类型说明
urlString接口
paramStringpost参数
headerString请求头
cookieStringcookie
proxyString代理ip
methodString执行请求方式,如get/post

返回参数

名称类型说明

返回示例

{     "code": 1,     "msg": "请求成功",     "body": "{\"status\":500,\"message\":\"没有找到\"}",     "header": "HTTP/1.1 200 OK\r\nDate: Tue, 22 Aug 2023 09:35:29 GMT\r\nContent-Type: application/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nAccess-Control-Allow-Origin: *\r\nCF-Cache-Status: DYNAMIC\r\nReport-To: {\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2Fuxd9KUZPawSJ%2BdkdELJru2hgVSPLBAwWWt7yw5DwbJyDh5JCcdXUnaAAe3wWPyRAfAeRswmdXgZg4rFcJCxvYB0ZbFI6Z7z%2FljInBY4OBR7EVZ4k%2BlkuFQj4NJfjwrA\"}],\"group\":\"cf-nel\",\"max_age\":604800}\r\nNEL: {\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}\r\nServer: cloudflare\r\nCF-RAY: 7faa20402b350506-HKG\r\nalt-svc: h3=\":443\"; ma=86400\r\n\r\n" }