Skip to content

Instantly share code, notes, and snippets.

@Rheola
Created February 15, 2019 06:12
Show Gist options
  • Save Rheola/38e5d55a83f31c18148f1e96fc5ec639 to your computer and use it in GitHub Desktop.
Save Rheola/38e5d55a83f31c18148f1e96fc5ec639 to your computer and use it in GitHub Desktop.
$headers = [
'Authorization: Bearer ' . $this->token,
'Content-Type: application/json; charset=utf-8',
'Host: dss.itcomgk.ru',
'Expect: 100-continue',
];
// Массив устанавливаемых HTTP-заголовков
curl_setopt($this->ch, CURLOPT_HTTPHEADER, $headers);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment