@@ -142,11 +142,11 @@ function sendPublic($url, $params, $method, $data) {
142
142
}
143
143
$ sig = createSignature ($ now , $ method , $ endpointParams , [], $ this ->apiSecret );
144
144
$ 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 '
150
150
);
151
151
curl_setopt ($ curl , CURLOPT_HTTPHEADER , $ headers );
152
152
}
@@ -166,11 +166,11 @@ function sendPrivate($endpoint, $params, $body, $method, $apiSecret, $base, $api
166
166
$ sig = createSignature ($ now , $ method , $ endpointParams , $ body , $ apiSecret );
167
167
$ curl = $ this ->createCurl ($ base . $ endpoint , $ method , $ params );
168
168
$ 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 '
174
174
);
175
175
curl_setopt ($ curl , CURLOPT_HTTPHEADER , $ headers );
176
176
if ($ method == "POST " ) {
@@ -838,4 +838,4 @@ public function subscriptionBook($market, callable $callback) {
838
838
}
839
839
}
840
840
841
- ?>
841
+ ?>
0 commit comments