@@ -142,11 +142,11 @@ function sendPublic($url, $params, $method, $data) {
142142 }
143143 $ sig = createSignature ($ now , $ method , $ endpointParams , [], $ this ->apiSecret );
144144 $ headers = array (
145- 'Bitvavo-Access-Key : ' . $ this ->apiKey ,
146- 'Bitvavo-Access-Signature : ' . $ sig ,
147- 'Bitvavo-Access-Timestamp : ' . (string )$ now ,
148- 'Bitvavo-Access-Window : ' . (string )$ this ->accessWindow ,
149- 'Content-Type : application/json '
145+ 'bitvavo-access-key : ' . $ this ->apiKey ,
146+ 'bitvavo-access-signature : ' . $ sig ,
147+ 'bitvavo-access-timestamp : ' . (string )$ now ,
148+ 'bitvavo-access-window : ' . (string )$ this ->accessWindow ,
149+ 'content-type : application/json '
150150 );
151151 curl_setopt ($ curl , CURLOPT_HTTPHEADER , $ headers );
152152 }
@@ -166,11 +166,11 @@ function sendPrivate($endpoint, $params, $body, $method, $apiSecret, $base, $api
166166 $ sig = createSignature ($ now , $ method , $ endpointParams , $ body , $ apiSecret );
167167 $ curl = $ this ->createCurl ($ base . $ endpoint , $ method , $ params );
168168 $ headers = array (
169- 'Bitvavo-Access-Key : ' . $ apiKey ,
170- 'Bitvavo-Access-Signature : ' . $ sig ,
171- 'Bitvavo-Access-Timestamp : ' . (string )$ now ,
172- 'Bitvavo-Access-Window : ' . (string )$ this ->accessWindow ,
173- 'Content-Type : application/json '
169+ 'bitvavo-access-key : ' . $ apiKey ,
170+ 'bitvavo-access-signature : ' . $ sig ,
171+ 'bitvavo-access-timestamp : ' . (string )$ now ,
172+ 'bitvavo-access-window : ' . (string )$ this ->accessWindow ,
173+ 'content-type : application/json '
174174 );
175175 curl_setopt ($ curl , CURLOPT_HTTPHEADER , $ headers );
176176 if ($ method == "POST " ) {
@@ -838,4 +838,4 @@ public function subscriptionBook($market, callable $callback) {
838838 }
839839}
840840
841- ?>
841+ ?>
0 commit comments