RESTAPIRequest - headers

All headers from the request.

Table 1. Field
Name Type Description
headers object All headers from the request, and their values.

var headers = request.headers; 
var acceptHeader = headers.Accept;
var myCustomHeader = headers.myCustom; 
var specialHeader = headers['special - header'];