Back to challenges
API TestingAPIIntermediate

File upload API

?

Scenario

Your interview prompt

A `POST /tickets/{id}/attachments` endpoint accepts multipart uploads for PDF, PNG, and JPG up to 10 MB. It returns attachment metadata and a scan status before the file is available for download.

List flows, risks, edge cases, data conditions, UX, security, API/backend, and performance concerns.

Tip: a stronger answer usually mixes happy path, negative cases, state changes, data, backend, UX, accessibility, and risk.

How to structure your answer

Happy pathNegative casesData rulesSecurity/API risksUX/performance