端口检测

GET

检测端口是否开启

https://api.aiys.net/api/Portdetection
https://api.aiys.net/api/Portdetection/?ip=202.189.7.147&port=80

请求参数

请求示例

Shell
JavaScript
Python
PHP
Java
Go
C#
Ruby
curl -X GET 'https://api.aiys.net/api/Portdetection?ip=${text}&port=${text}'

返回示例

{
  "code": 1,
  "address": "202.189.7.147",
  "data": [
    {
      "port": "80",
      "state": "√"
    }
  ],
  "request_id": "dd6165fda2ec84381947561d"
}