cancel
Showing results for 
Search instead for 
Did you mean: 

php client blob

sk90_
Champ in-the-making
Champ in-the-making

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.

1 ACCEPTED ANSWER

Laurent_Doguin
Star Collaborator
Star Collaborator

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

View answer in original post

1 REPLY 1

Laurent_Doguin
Star Collaborator
Star Collaborator

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

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.