We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93c668d commit 80b4242Copy full SHA for 80b4242
examples/vanilla_php.php
@@ -1,6 +1,6 @@
1
<?php
2
$file_path = 'jmeter-docx.docx';
3
- $secret = 'BF1A7s5ODYhxBfVelFLKU2OzSgoJAt0a';
+ $token = 'BF1A7s5ODYhxBfVelFLKU2OzSgoJAt0a';
4
5
if (file_exists($file_path)) {
6
$curl = curl_init();
@@ -10,7 +10,7 @@
10
curl_setopt($curl, CURLOPT_POST, true);
11
$headers = array(
12
'Accept: application/octet-stream',
13
- 'Authorization: Bearer ' . $secret
+ 'Authorization: Bearer ' . $token
14
);
15
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
16
$postData = array(
0 commit comments