Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

setRequestHeader

Description

Appends a header to the list of author request headers, or if header is already in the list of author request headers, combines its value with value.


Basic Example: 
Code Block
request.setRequestHeader(header, value);

 

Parameters

 

NameRequiredTypeDefaultDescription
header
Yes
string
 

Name of the header to set.

value
Yes
string
 

The value to set for the header