API Design · Middle · Question 50 of 75
How can clients upload large files without sending them through the API server?
- 1Split the file into many query parameters
- ✓Correct answer: The API issues a presigned URL for object storage; the client uploads directly, then tells the API the upload is done
- 3Base64-encode the file in JSON
Explanation
The API keeps control (who may upload, size limits, content type) without carrying the bytes.