php client blob
Hi,
In the documentation, I saw the following code:
$answer = $session->newRequest(“Blob.Attach”)->set('params', 'document', $path) ->loadBlob($blob, $blobtype) ->sendRequest();
How do I convert a file to a blob? Also, what do I use as the blobtype?
Thanks.
0 votes
1 answers
1304 views
Hi,
You should take a look at the samples in our php automation client:
https://github.com/nuxeo/nuxeo-automation-php-client/blob/master/samples/B4.php