ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 785 of 1039 2021-09-23
3.18.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: