REST API request headers

These request headers are common to all of the IBM Transformation Extender Advanced REST APIs.

Table 1. REST API request headers
Parameter Required or Optional Description
Authorization Required Enter authorization information for a successful call.
Content-Type Required Defines the content type of the API session.

Defines the content type of the API session.

Valid values: application/json and application/xml.

Accept Required Accepts a DocId or other input as provided in the document list from the previous create or read job.
X-CSRF-Protection Required for POST, UPDATE, and DELETE requests. Optional for GET requests. Accepts any non-null value. This helps to prevent Cross-Site Request Forgery vulnerabilities.
Example request header:
Authorization: Basic QWxhZGRpbjpvcGVuIHN1c2FTZQ==