Use HTTP protocol to transfer data#
Create REST API#
Brief Description#
Scanner data upload interface
Request URL#
https://httpbin.org/post
Request Mode#
POST
Request Parameters#
Parameter name |
required |
type |
description |
---|---|---|---|
id |
yes |
string |
device Id |
msg |
yes |
string |
Scan Content |
Request Example#
1{"id": "04B9023A","msg":"1234567890"}
Return Parameter#
For details, see Data receiving format
Configure Scanner#
Set the Content-Type of the scanner request#

Application/Json#
Set the data format sent by the scanner#

Json Format#