buildHeaders

abstract fun buildHeaders(bearerToken: String?, additionalHeaders: MutableMap<String, String>?): MutableMap<String, String>?

Builds the headers for the Connected Car Data API requests

Return

a MutableMap that contains the headers as a key/value list

Parameters

bearerToken

the Bearer token to authenticate with API

additionalHeaders

other headers from the request