Aug 1, 2023
0
Level 1
Error with Illuminate\Support\Facades\Http::get
I am using //github.com/doerffler/flysystem-onedrive , but I get the error
"Call to undefined method Illuminate\Support\Facades\Http::get()"
I tried to recreate using the same code, but I still get the same error, I did look into the code from
//laravel.com/api/10.x/Illuminate/Support/Facades/Http.html#method_put
But it state that the function existed, but when I look into
//github.com/laravel/framework/blob/10.x/src/Illuminate/Support/Facades/Http.php
I found nothing, can someone help me with this error? How can I write it?
$http = new Http();
$response = $http->put(
$upload_url,
[
'headers' => $headers,
'body' => $chunk,
'timeout' => $this->options['request_timeout'],
]
);
Please or to participate in this conversation.