You work as an API Integration Specialist for MDFT Pro, a well-known training agency that delivers cloud certification courses to students worldwide. Mark, the API Services Manager, has implemented Azure API Management to handle the Course Content Upload API, which allows trainers to submit course materials, videos, and large presentation files.
To optimize backend resource allocation and handle large file uploads more efficiently, Mark has configured an API policy that checks the Content-Length header of incoming requests. For requests with bodies smaller than 512KB, the standard v1.0 API endpoint is used.
However, when trainers upload large course videos or comprehensive study materials exceeding 512KB, the requests need to be routed to a specialized v9.1 backend service optimized for large file handling. The policy uses rewrite-uri to change the path to “/put” and set-backend-service to redirect to “mdftpro.com/api/9.1/” for these large uploads.
What happens to the HTTP method when a client sends a large request (body size > 512KB) with any HTTP verb (GET, POST, PUT, etc.)?
Choose the correct answer from the options below.
Explanations for each answer: