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#

../../media/application-json.png

Application/Json#

Set the data format sent by the scanner#

../../media/25WFCOMMPM23S1.png

Json Format#

Configure WiFi and API URL address#