![GOSUNCN ME3630 Series Command Reference Manual Download Page 141](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368141.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
140
AT Command Reference Guide of Module Product
ME3630
13.
HTTP
R
ELATIVE
C
OMMANDS
Note: The commands in this chapter are only supported by ME3630-E currently.
13.1.
AT+ZHTTPURL Set URL of HTTP server
When setting the URL of HTTP server, it will start authentication automatically, and return OK at first, then return the result of
authentication.
Command
Possible response(s)
+ZHTTPURL=<url_str>
<CR><LF>OK<CR><LF>
+ZHTTPURL?
<CR><LF>+ZHTTPURL:xxxxxxxxx<CR><LF>
<CR><LF>OK<CR><LF>
Parameter
<url_str> Hypertext transfer protocol URL, support 511 bytes in maximum.
Example
AT+ZHTTPURL=http://www.example.com
OK
AT+ZHTTPURL?
AT+ZHTTPURL: http://www.example.com
OK
13.2.
AT+ZHTTPGET Send GET Request to HTTP Server
Send GET Request to HTTP Server after the URL of HTTP server is set. If all the set value is available, it will return the response
data from HTTP server with OK; if there is error, it will return the response data from HTTP server with ERROR.
If there is no response from server, it will return ERROR only.
Command
Possible response(s)
+ZHTTPGET
<CR><LF><HTTP SEVER RESPONS><CR><LF>
<CR><LF>OK<CR><LF>
Parameter
none
Example
AT+ZHTTPGET
13.3.
AT+ZHTTPPOST Send POST Request to HTTP Server
Send POST Request to HTTP Server after the URL of HTTP server is set. If all the set value is available, it will return the response
data from HTTP server with OK; if there is error, it will return the response data from HTTP server with ERROR.
If there is no response from server in <input_time> seconds, it will return ERROR only.
Command
Possible response(s)