RUI3 (RAK Unified Interface 3) - RAK4631
bg77::qhttppostfile

Public Member Functions

String set (String)
 
String set (String, int)
 

Member Function Documentation

◆ set() [1/2]

String set ( String  )
Description
This api can be used to send HTTP(S) POST request via a file
Syntax
bg77.qhttppostfile.set(file_name)
Parameters
file_nameString String type. File name. The max length of the file name is 80 bytes
Returns
String response

◆ set() [2/2]

String set ( String  ,
int   
)
Description
This api can be used to send HTTP(S) POST request via a file
Syntax
bg77.qhttppostfile.set(file_name,rsptime)
Parameters
file_nameString String type. File name. The max length of the file name is 80 bytes
rsptimeint Integer type. The range is 1-65535, and the default value is 60. Unit: second. It is used to configure the timeout for the HTTP(S) POST response “+QHTTPPOSTFILE: <err>[,<httprspcode>,<content_length>]” to be output after “OK” is returned.
Returns
String response