Skip to content

Commit 80b4242

Browse files
authored
Update vanilla_php.php
1 parent 93c668d commit 80b4242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/vanilla_php.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
$file_path = 'jmeter-docx.docx';
3-
$secret = 'BF1A7s5ODYhxBfVelFLKU2OzSgoJAt0a';
3+
$token = 'BF1A7s5ODYhxBfVelFLKU2OzSgoJAt0a';
44

55
if (file_exists($file_path)) {
66
$curl = curl_init();
@@ -10,7 +10,7 @@
1010
curl_setopt($curl, CURLOPT_POST, true);
1111
$headers = array(
1212
'Accept: application/octet-stream',
13-
'Authorization: Bearer ' . $secret
13+
'Authorization: Bearer ' . $token
1414
);
1515
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
1616
$postData = array(

0 commit comments

Comments
 (0)