SetHTTPHeaders (Magic xpi 4.5)
Sets the required HTTP header information for the returned HTTP result.
Syntax:
|
SetHTTPHeaders(Alpha headers, Alpha delimiter)
|
Parameters:
|
headers: A string holding all headers with a delimiter.
|
|
delimiter: This can be any string. The default value is a comma (,). This is used when splitting the headers string.
|
Returns:
|
Logical – The function returns a True value if the header information is defined in the [Type]:[Value].
|
Example:
|
SetHTTPHeaders(‘Key1:Value1, Key2:Value2, Key3:Value3’,’,’)
|
Note:
|
You can only define one set of headers per HTTP call.
|