HTTP

The HTTP endpoint allows you to get a list of HTTP records, and details about specific HTTP records.

Get a list of HTTP records

GET https://api.halosecurity.com/api/v1/http/list.json

Returns a paginated list of HTTP records.

https://www.halosecurity.com/user/security/firewall/http/list

Query Parameters

{
    "list": [
        {
            "http": {
                "html_count_js": 0,
                "headers": [
                    {
                        "date": "Sun, 06 Feb 2022 18:45:56 GMT"
                    },
                    {
                        "content-type": "text/html; charset=utf-8"
                    },
                    {
                        "content-length": "90"
                    },
                    {
                        "connection": "keep-alive"
                    },
                    {
                        "server": "Apache"
                    },
                    {
                        "set-cookie": "JSESSIONID=123; path=/"
                    }
                ],
                "code": 503,
                "target_name": "",
                "monitor_state": 1,
                "target_id": 1,
                "url": "http://www.example.com",
                "target": "www.example.com",
                "platforms": [],
                "html_count_css": 0,
                "size": 90,
                "port": 80,
                "code_detail": "Service Unavailable",
                "scope": 1,
                "risk": "none",
                "location": "http://example.com",
                "scan_id": "id1",
                "html_count_link": 0
            },
            "target": {
                "target_name": "",
                "target_id": 1,
                "target": "www.example.com"
            }
        }
    ]
}

Get the details of an HTTP record.

GET https://api.halosecurity.com/api/v1/http/get.json

Returns the details of an HTTP record.

https://www.halosecurity.com/user/security/firewall/http/list

Query Parameters

{
    "success": 1,
    "http": {
        "html_count_js": 0,
        "headers": [
            {
                "date": "Sun, 06 Feb 0000 00:00:00 GMT"
            },
            {
                "content-type": "text/html; charset=utf-8"
            },
            {
                "content-length": "90"
            },
            {
                "connection": "keep-alive"
            },
            {
                "server": "Apache"
            },
            {
                "set-cookie": "JSESSIONID=abc; path=/"
            }
        ],
        "code": 503,
        "target_name": "",
        "monitor_state": 1,
        "target_id": 1,
        "url": "http://www.example.com",
        "target": "www.example.com",
        "platforms": [],
        "html_count_css": 0,
        "size": 90,
        "port": 80,
        "code_detail": "Service Unavailable",
        "scope": 1,
        "risk": "none",
        "location": "http://www.example.com",
        "scan_id": "id1",
        "html_count_link": 0
    }
}

Last updated