Commit 4e1e4cb1 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed headers in file_get_contents

parent 96fbaf19
......@@ -73,8 +73,10 @@ class Key
$opts = array(
'http' => array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded\r\n' .
'Authorization: Basic ' . $authKey . '\r\n',
'header' => [
'Content-type: application/x-www-form-urlencoded',
'Authorization: Basic ' . $authKey
],
'content' => $postdata,
),
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment