postUpload()
postUpload() : \Illuminate\Http\JsonResponse
Function to handle POST request for file upload
Returns
\Illuminate\Http\JsonResponse —The JSON response code
Controller to handle uploads Ability to transform timewise files to partwise files
_saveFile(\User $user, string $url)
Function to save files to database
\User | $user | The user as Eloquent Model |
string | $url | The file url |