eva http消息

GET /api/eva HTTP/1.1
Host: 192.168.1.187:7999
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Content-Length: 238

{
    "cmd": "evpm_register",
    "evpm": [{
            "url": "http://192.168.1.191:8890/evpm_agent",
            "report_type": "0",
            "report_interval": "60",
            "heartbeat_interval": "10"
        }
    ]
}

 

 

 

 

 

 

 

 

 

GET /api/eva HTTP/1.1
Host: 192.168.1.187:7999
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Content-Length: 521

{
    "cmd": "stream_config",
    "stream": [{
        "url": "udp://192.168.1.203:5001",
        "start": "2020-06-05 15:05:00",
        "end": "2020-06-05 15:10:00",
        "type": "0",
        "name":"lvyunxiang test stream1 udp://192.168.1.203:5001 dazhuangfu"
    }, {
        "url": "udp://192.168.1.203:5002",
        "start": "2020-06-05 15:05:00",
        "end": "2020-06-05 15:10:00",
        "type": "1",
        "name":"lvyunxiang test stream2 udp://192.168.1.203:5002 zanmenjiehunba"
    }]
}

posted @ 2020-06-05 17:30  虾兵  阅读(257)  评论(0编辑  收藏  举报