ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 456 of 545 2020-04-15
3.16.3. AT#HTTPSND - Send HTTP POST or PUT request
This command performs a POST or PUT request to HTTP server and starts sending data to the server.
AT#HTTPSND=<profId>,<command>,<resource>,<dataLen>[,<postParam>
[,<extraHeaderLine>]]
After entering AT#HTTPSND=... command, and terminated the command line with <CR>, the
module returns the following three characters sequence prompt, and waits for data to send:
<greater_than><greater_than><greater_than> (see IRA character set: 62, 62, 62)
Now, data can be entered from TE, sized <dataLen> bytes. If sending ends successfully the
response will be OK, otherwise an error code will be reported.
When the HTTP server answer is received, the URC will be available on the serial port with the
following format:
#HTTPRING: <profId>,<httpStatusCode>,<contentType>,<dataSize>
The URC parameters are described in Unsolicited Field section.
Parameters:
HTTP Content-type identifier, used only for POST
command, optionally followed by colon character (:)
and a string that extends with sub-types the identifier