<TLS>
Default: 0. Values range: 0 → unsecured; 1 → autodetect; 2
→ TLS
<username>
Default: none
<passwd>
Default: none
<in_filename>
Default: none. Custom http requests
<out_filename>
Default: Console. When specified the return data are saved in
a file
6.54
AT+S.HTTPPOST
To perform a post of the specified file to a remote host.
Usage:
AT+S.HTTPPOST=<hostname>,[<path&queryopts]>,[<port>],[<TLS>],[<username>],
[<passwd>],[<in_filename>],[<out_filename>]<cr>
Parameters:
<hostname>
DNS resolvable Name or IP address
<path&queryopts>
Default:/index.html. document path & optional query
arguments
<port>
Default 80 (if TLS=0) or 443 (if TLS>0)
<TLS>
Default: 0. Values range: 0 → unsecured; 1 → autodetect; 2
→ TLS
<username>
Default: none
<passwd>
Default: none
<in_filename>
Default: none. Console. When specified the return data are
saved in a file
<out_filename>
Default: none. Filename to transfer to the server. Please refer
to following table the right association between file extension
and HTTP Content-Type.
Table 5.
Association between file extension and HTTP content-type
File extension
Content-type
html
text/html
fhtml
text/html
css
text/css
txt
text/plain
xml
text/xml
xls
text/xls
gif
image/gif
jpg
image/jpg
bmp
image/bmp
UM2114
AT+S.HTTPPOST
UM2114
-
Rev 3
page 34/66