ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 454 of 545 2020-04-15
3.16.2. AT#HTTPQRY - Send HTTP GET, HEAD or DELETE Request
This command performs a GET, HEAD or DELETE request to HTTP server.
AT#HTTPQRY=<prof_id>,<command>,<resource>[,<extra_header_line>]
Parameters:
identifies command requested to HTTP server
is the HTTP resource (URI), object of the request
is the optional HTTP header line
When the HTTP server answer is received, then the following URC is put on the serial port:
#HTTPRING: <prof_id>,<http_status_code>,<content_type>,<data_size>
If there are no data from server or the server does not answer within the time interval
specified in <timeout> parameter of #HTTPCFG command, then the URC #HTTPRING
<http_status_code> parameter has value 0.
is the status code, as received from the
server, see RFC 2616
reports the "Content-Type" header line, as
received from the server, see RFC 2616
is the byte amount of data received from
the server. If the server does not report the
"Content-Length:" header line, the
parameter value is 0.