Created
February 15, 2019 06:12
-
-
Save Rheola/38e5d55a83f31c18148f1e96fc5ec639 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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