Transfer data using HTTP protocol#
Note
Only applicable to scanners that support Wi-Fi transmission, such as DS2800.
Create a 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 parameters#
See Data Receiving Format for details.
Configure scanner#
Set Content-Type of scanner request#
Application/JSON#
Set the data format sent by the scanner#
JSON format content#