10000 stream · mastashake08/screen-recorder-api@2184c3b · GitHub
[go: up one dir, main page]

Skip to content

Commit 2184c3b

Browse files
committed
stream
1 parent b8010ce commit 2184c3b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

routes/api.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,8 @@
174174
});
175175

176176
Route::post('/stream-to-youtube', function(Request $request){
177-
dd($request->all());
178-
$response = Http::put($request->url, [
179-
'file' => $request->file
180-
]);
177+
$response = Http::attach(
178+
'file', $request->file
179+
)->put($request->url);
181180
return $response;
182181
});

0 commit comments

Comments
 (0)
0