IOT-WORKSHOP
DTU-H10X
Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
- 63 -
5.2.2.57.
AT+HTPTP/AT+HTTPTP
Function: Query/Set device http request type, it is valid only in httpdclient mode, setting
is valid after reboot
Format:
Query Operation
AT+HTPTP/AT+HTTPTP<CR>
+ok=<Type><CR>< LF ><CR>< LF >
Set Operation
AT+HTPTP/AT+HTTPTP=<Type><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Type: GET/PUT/POST, default GET.
5.2.2.58.
AT+HTPURL/AT+HTTPPH
Function: Query/Set device http header directory, it is valid only in httpdclient mode,
setting is valid after reboot
Format:
Query Operation
AT+HTPURL/AT+HTTPPH<CR>
+ok=<Path><CR>< LF ><CR>< LF >
Set Operation
AT+HTPURL/AT+HTTPPH=<Path><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Path: 1~50 length, devault "/abcd".
5.2.2.59.
AT+HTTPCN
Function: Query/Set device old http format header connection type, it is valid only in
httpdclient mode, setting is valid after reboot.(Reserved)
Format:
Query Operation
AT+HTTPCN<CR>
+ok=<Connection><CR>< LF ><CR>< LF >
Set Operation
AT+HTTPCN=<Connection><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Connection: 1~20 length, devault "keep-alive".
5.2.2.60.
AT+HTTPUA
Function: Query/Set device old http format header User-Agent, it is valid only in
httpdclient mode, setting is valid after reboot.(Reserved)
Format:
Query Operation