API Testing · Middle · Question 32 of 75

How do you test file upload with multipart/form-data?

Show the answer

Correct answer: Valid files, wrong types, too-large files and renamed extensions

Explanation

Check limits (413 Payload Too Large), content-type validation (not just extension), malicious names and storage.

Further reading

Problem with a question

API Testing · Middle · question 32

Test yourself

Take the API Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz