Request
Response
AT+HttpSendReq=[index],[method],[uri],[flags],[format], [length],
[data]
OK or error
Arguments:
index - client handle
method - get, post, head, options, put, del, connect
uri - request URI string
flags
- chunk_start (Sets the request into chunked body)
- chunk_end (Sets the request out of chunked body)
- drop_body (Flushes the response body)
format - data format for post/put (0=Bin,1=Base64)
lenght - length of payload for post/put
data - request payload for post/put
Table 70: AT+HttpSendReq
Request
Response
AT+HttpReadResBody=[index], [format],
[length]
+HttpReadResBody:[index], [flag],
[format], length], [body]
Arguments:
Arguments:
index - client handle
index - client handle
format - request format (0=Bin,1=Base64)
flag (0=data end, 1=more data available)
length - request data length
length - length of returned data
body - received data
Table 71: AT+HttpReadResBody
Request
Response
AT+HttpSetHeader=[index],[option],[flags],[format], [length],
[data]
OK or error
Arguments:
index - client handle
option - see table
flags- bitmask (not_persistent, persistent)
format - data format(0=Bin,1=Base64)
length - (optional)
data - (optional)
Table 72: AT+HttpSetHeader
Calypso reference manual version 1.2
© April 2019
www.we-online.com/wireless-connectivity
65