使用 HTTP 协议传输数据#
备注
仅适用于支持 Wi-Fi 传输的读码设备,如 DS2800。
创建 REST API#
简要描述#
读码设备数据上传接口。
请求 URL#
https://httpbin.org/post
请求模式#
POST
请求参数#
参数名称 |
必填 |
类型 |
描述 |
|---|---|---|---|
id |
是 |
string |
设备 ID |
msg |
是 |
string |
扫描内容 |
请求示例#
1{"id":"04B9023A","msg":"1234567890"}
返回参数#
详情请查看 数据接收格式。
配置读码设备#
设置读码设备请求的 Content-Type#
Application/Json#
设置读码设备发送的数据格式#
Json 格式内容#