N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
86
13 HTTP Commands
13.1 Setting HTTP ParaHTTPPARA
Description
To set HTTP parameters
Format
AT+HTTPPARA=<para>,<para_value><CR>
Parameter
<para>: HTTP parameters, supporting the following two parameters:
url: Destination path
port: Destination port ID
<para_value>: The value of <para>. The value of url contains at most 128 bytes
and url supports domain name translation. The default port is 80.
Return Value
See the Example.
Example
AT+HTTPPARA
=url,www.neoway.com.cn/en/index.aspx
OK
Set
the
Neoway
homepage as the URL.
The
URL
supports
domain
name
translation.
AT+HTTPPARA=url,121.15.200.97/Service1.asmx/Get
Note
OK
Set URL.
AT+HTTPPARA=url,
ERROR
The AT command is not
complete.
AT+HTTPPARA=port,80
OK
Set the destination port
ID to 80.
AT+HTTPPARA=port,8080
OK
Set the destination port
ID to 8080.
Remarks
To send new HTTP request, set new HTTP parameters.