Salesforce

SetHTTPHeaders (Magic xpi 4.9)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

SetHTTPHeaders (Magic xpi 4.9)

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:

This function returns no value.

Example:

SetHTTPHeaders(‘Key1:Value1, Key2:Value2, Key3:Value3’,’,’)

Note:

You can only define one set of headers per HTTP call.

Reference
Attachment 
Attachment