N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
94
14.2 Setting Up HTTPS Link: +HTTPSSETUP
Description
To set up an HTTPS connection
Format
AT+HTTPSSETUP<CR>
Parameter
N/A
Return Value
See the Example
Example
AT+HTTPSSETUP
OK
Set up an HTTPS link.
Successful
AT+HTTPSSETUP
ERROR
Set up an HTTPS link.
Failed
Remarks
The link can be set up successfully only after the destination address and port are
set correctly.
14.3 HTTPS Request: +HTTPSACTION
Description
To execute HTTPS requests
Format
AT+HTTPSACTION=<mode>[,<length>[,<type>]][,<offset>[,<size>]]<CR>
Parameter
<mode>: HTTPS request mode
0: GET
1: HEAD
2: POST
99: OPEN_MODE. Customized packet mode.
<length>: the length of POST content or custom packets. It is required if <mode>is
set to POST or OPEN_MODE. The maximum length is 2048.
<type>: POST request data type
0: x-www-form-urlencoded
1: text
2: json
3: xml
4: html
<offset>: offset in GET mode
<size>: Size of file to be downloaded