Laravel File Upload testing not image -


we know can fake image upload in laravel. in case have form request validates audio/mpeg mime type. don't know how possible fake type of file test.

public function rules(): array {     return [         'media' => 'required|mimes:mp3',     ]; } 


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -