Closed dprevite closed 9 years ago
Thanks!
I just took a quick look at it, and I can confirm the issue. Not sure yet why this is happening, but a quick workaround until a proper fix is pushed would be this:
In Helpers/PutIO/PutIOHelper.php, change uploadFile() to
protected function uploadFile($path, array $params = array())
{
$path .= '?oauth_token=XXXXXXX';
return $this->request('POST', $path, $params);
}
And after creating the instance, set the HTTP engine to "Native" (cURL causes issues regardless)
$putio->setHTTPEngine('Native');
Will push a proper fix as soon as I know what's happening.
Thank you!
The issue has been addressed.
Thanks again!
When I try this, tweaked from the docs:
I'm getting the following response from the API even though other API calls (getting files) work just fine.