laravel-ovh
laravel-ovh copied to clipboard
I can't send nothing
I have a problem, when I try to send a file it gives me false, it connects well I have the impression because I don't have a credential error but I can't send. returns a false message to me. I am using Laravel 10.10
try {
$path = Storage::disk('ovh')->put('file.txt', 'Contenu du fichier');
return response()->json($path);
} catch (\Exception $e) {
return response()->json(['error' => $e->getMessage()], 500);
}