Filestack\Mixins\CommonMixin::sendGetContent
Get the content of a file.
Signature
protected function sendGetContent(string
$url,
[FilestackSecurity
$security = NULL] )
Parameters
$url
— string- Filestack file url
$security
— object- Filestack security object if
security settings is turned on
Returns
- string
- (file content)
Errors/Exceptions
-
FilestackException
- if API call fails, e.g 404 file not found