Skip to content

Commit ce34246

Browse files
authored
Update upload-documents.php
removed b64 enconding see issue: #120
1 parent 8e51a2e commit ce34246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/upload-documents.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
$uploadDocumentsRequest->Documents[0]->FileName = 'CommercialInvoice.xls';
3434

3535
// Document content.
36-
$uploadDocumentsRequest->Documents[0]->DocumentContent = base64_encode(file_get_contents(__DIR__ . '/CommercialInvoice.xls'));
36+
$uploadDocumentsRequest->Documents[0]->DocumentContent = file_get_contents(__DIR__ . '/CommercialInvoice.xls');
3737

3838
$request = new Request();
3939
try {

0 commit comments

Comments
 (0)