EasyManuals Logo

Telit Wireless Solutions ML865G1 At Commands Reference Guide

Telit Wireless Solutions ML865G1
545 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #456 background imageLoading...
Page #456 background image
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.
SIM Presence
Setting saved
Can be aborted
MAX timeout
SELINT
Required
No
No
-
2
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:
Name
Type
Default
Description
<profId>
integer
N/A
profile identifier
Value:
0÷2
:
profile identifier
<command>
integer
N/A
command requested to HTTP server
Values:
0
:
POST command
1
:
PUT command
<resource>
string
-
HTTP resource (uri), object of the request
<dataLen>
integer
-
data length to send in bytes
<postParam>
string
N/A
HTTP Content-type identifier, used only for POST
command, optionally followed by colon character (:)
and a string that extends with sub-types the identifier
Values:
1[:extension]
:
"text/plain" with optional extension
2[:extension]
:
"application/octet-stream" with optional extension
3[:extension]
:
"multipart/form-data" with optional extension
other
:
free string corresponding to other content type and
possible sub-types
<extraHeaderLine>
string
-
optional HTTP header line
Unsolicited fields:

Table of Contents

Other manuals for Telit Wireless Solutions ML865G1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Telit Wireless Solutions ML865G1 and is the answer not in the manual?

Telit Wireless Solutions ML865G1 Specifications

General IconGeneral
BrandTelit Wireless Solutions
ModelML865G1
CategoryWireless modules
LanguageEnglish

Related product manuals