本帖最后由 gzkjdx 于 2022-11-17 10:35 编辑
对接车牌识别摄像头,是由摄像头向服务端发送POST数据的
数据
POST /lfapp/ServerCommand/parking HTTP/1.1
Host: 192.168.31.5:8080
Accept: */*
Content-Type: application/Json
Cache-Control: no-cache
Content-Length: 402
{"AlarmInfoPlate":{"channel":0,"deviceName":"入口","ipaddr":"192.168.31.101","result":{"PlateResult":{"colorType":1,"direction":4,"gioouts":[],"imagePath":"VzIPCCap%2F2022_11_17%2F10%2F1028175808_%D4%C1R2.jpg","isoffline":0,"license":"nuhi5HsuehisjIDanqL3zQ==","plateid":672156,"triggerType":8,"type":1}},"serialno":"636111ae","user_data":"N2I1YTQxMjc0MDVmMjY4NTI="}}
怎么获取到BODY的数据有办法吗?
|