You are here

protected function AcquiaLiftAPI::getPutHeaders in Acquia Lift Connector 7.2

Returns an array of headers to use for API PUT requests.

2 calls to AcquiaLiftAPI::getPutHeaders()
AcquiaLiftAPI::saveDecisionSet in includes/AcquiaLiftAPI.inc
Saves a decision set to Lift.
AcquiaLiftAPI::saveGoal in includes/AcquiaLiftAPI.inc
Saves a goal to Lift.

File

includes/AcquiaLiftAPI.inc, line 947

Class

AcquiaLiftAPI

Code

protected function getPutHeaders() {
  return array(
    'Content-Type' => 'application/json; charset=utf-8',
    'Accept' => 'application/json',
  );
}