You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// vendor/pcloud/pcloud-php-sdk/lib/Response.phpif ($this->response->result == 0) { <=== this is where it's failing
return$this->parseResponse();
} else {
and returning the error
Attempt to read property "result" on string
I can't find a gethumb example in the PHP docs so I'm kind of shooting in the dark here. All I'm trying to do is show an <img> tag on a webpage of an image from my pCloud account - maybe there's a better way?
The text was updated successfully, but these errors were encountered:
Hi,
In Postman, I can use the getthumb endpoint no problem
https://eapi.pcloud.com/getthumb?fileid=xxx&size=500x500&crop=0&type=jpg
However in PHP, the getthumb endpoint fails because the Response Object doesn't have a 'results' property.
and returning the error
I can't find a gethumb example in the PHP docs so I'm kind of shooting in the dark here. All I'm trying to do is show an
<img>
tag on a webpage of an image from my pCloud account - maybe there's a better way?The text was updated successfully, but these errors were encountered: