Forum Discussion

zhafari's avatar
zhafari
New Member
2 years ago

csv form data mime/type

so i have an endpoint to upload csv and other field using multipart/formdata like thissource

on that endpoint i make a validation for csv file that only allow file with mime/type of text/csv

but when i make request this thing got added wrong type

because of that the request could not pass through the validation, how can i get rid of that type thing

No RepliesBe the first to reply