private static function buildHeadersForPost($requestBody) { $postHeader = "Content-Type: application/x-www-form-urlencoded\r\n"; $postHeader .= "Content-Length: " . strlen($requestBody) . "\r\n"; return $postHeader; }