AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page210of233
#HTTPQRY – send HTTP GET, HEAD or DELETE request
<r_length> - integer type value indicating the maximum length of parameter
<resource>.
<m_length> - integer type value indicating the maximum length of parameter
<extra_header_line>.
Send HTTP POST or PUT request - #HTTPSND
#HTTPSND – send HTTP POST or PUT request
AT#HTTPSND=
<prof_id>,<command
>,<resource>,<data_le
n>[,<post_param>[,<e
xtra_header_line>]]
Execution command performs a POST or PUT request to HTTP server and starts
sending data to the server.
The device shall prompt a three character sequence
<greater_than><greater_than><greater_than>
(IRA 62, 62, 62)after command line is terminated with <CR>; after that the data
can be entered from TE, sized <data_len> bytes.
Parameters:
<prof_id> - Numeric parameter indicating the profile identifier.
Range: 0-2
<command> - Numeric parameter indicating the command requested to HTTP
server:
0 – POST
1 – PUT
<resource> - String parameter indicating the HTTP resource (uri), object of the
request
<data_len> - Numeric parameter indicating the data length to input in bytes
<post_param> - Numeric/string parameter indicating the HTTP Content-type
identifier, used only for POST command, optionally followed by colon character (:)
and a string that extends with sub-types the identifier:
“0[:extension]” – “application/x-www-form-urlencoded” with optional extension
“1[:extension]” – “text/plain” with optional extension
“2[:extension]” – “application/octet-stream” with optional extension
“3[:extension]” – “multipart/form-data” with optional extension
other content – free string corresponding to other content type and possible sub-
types
<extra_header_line> - String parameter indicating optional HTTP header line
If sending ends successfully, the response is OK; otherwise an error code is
reported.