Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W03 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
33
2. Log in to the web page again, and fill in the HTTP server address in the parameter setting menu.
3. Enter the HTTP server port number.
4. The request method can choose post or get.
5. Select all output as the output method. All the content returned by the server is output through the serial port. If valid
output is selected, the serial port only outputs valid data.
6. Enter the header URL path.
7. User-defined input protocol header, multiple items need to be added directly\r\nThe last one is not added.
If the user passes parameters through GET, the following describes the GET usage method in detail. as follows:
GET /request/login.do?name=test&userpwd=123456 HTTP/1.1
Host: 192.168.4.10:8080
Where /request/login.do? is the content set in the URL of the header path (note that ? should be added after the URL),
and name=test&userpwd=123456 is the data received by the module serial port. 192.168.4.10:8080 is the HTTP server
address and port.
Custom protocol header: The default is Connection: keep-alive, which can be modified by the user. If multiple
commands are required, add \r\n between commands, and the last one is not added.
If the user passes parameters through POST, the following describes the POST usage method in detail. as follows:
POST /request/login.do HTTP/1.1
Host: 192.168.4.10:8080
(This place is a blank line and cannot be deleted. Finally, the content of the brackets should be deleted, and the blank line
should be reserved)
username=test&userpwd=123456
Where /request/login.do is the content set in the header path URL, and name=test&userpwd=123456 is the data received
by the module serial port. 192.168.4.10:8080 is the HTTP server address and port.
Custom protocol header: The default is Connection: keep-alive, which can be modified by the user. If multiple
commands are required, add \r\n between commands, and the last one is not added.
6.2.3WebSocket
1. Log in to the web page, in the mode setting menu, select Station as the work role, select websocket as the service mode,
and save the settings
2. In the parameter setting menu, configure the required parameters.