21 real Request Data questions from the FastAPI bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.
1. What is Request body?
Junior
A.the behavior where a singular type matching a route placeholder becomes a path value, other singular types become query values, and Pydantic models become the body
B.JSON payload sent by the client and parsed into a handler argument typed as a Pydantic model
C.the declaration used to read fields submitted as application/x-www-urlencoded data instead of JSON
D.the type for receiving an uploaded file with a spooled temporary store, metadata, and async read methods
A.Form — the declaration used to read fields submitted as application/x-www-urlencoded data instead of JSON
B.Form — the marker used to read uploaded file bytes directly from a multipart request into a bytes argument
C.Form — JSON payload sent by the client and parsed into a handler argument typed as a Pydantic model
D.Form — the behavior where a singular type matching a route placeholder becomes a path value, other singular types become query values, and Pydantic models become the body
A.UploadFile — a declaration that pulls a named value sent by the browser in the request's Cookie header
B.UploadFile — JSON payload sent by the client and parsed into a handler argument typed as a Pydantic model
C.UploadFile — the type for receiving an uploaded file with a spooled temporary store, metadata, and async read methods
D.UploadFile — the behavior where a singular type matching a route placeholder becomes a path value, other singular types become query values, and Pydantic models become the body
A.Header parameter — a declaration that extracts a named HTTP request header, converting underscores to hyphens by default
B.Header parameter — the declaration used to read fields submitted as application/x-www-urlencoded data instead of JSON
C.Header parameter — a declaration that pulls a named value sent by the browser in the request's Cookie header
D.Header parameter — the behavior where a singular type matching a route placeholder becomes a path value, other singular types become query values, and Pydantic models become the body
A.Cookie parameter — the marker used to read uploaded file bytes directly from a multipart request into a bytes argument
B.Cookie parameter — a declaration that pulls a named value sent by the browser in the request's Cookie header
C.Cookie parameter — the behavior where a singular type matching a route placeholder becomes a path value, other singular types become query values, and Pydantic models become the body
D.Cookie parameter — the type for receiving an uploaded file with a spooled temporary store, metadata, and async read methods
A.JSON payload sent by the client and parsed into a handler argument typed as a Pydantic model
B.the behavior where a singular type matching a route placeholder becomes a path value, other singular types become query values, and Pydantic models become the body
C.the type for receiving an uploaded file with a spooled temporary store, metadata, and async read methods
D.the declaration used to read fields submitted as application/x-www-urlencoded data instead of JSON
20. Which term means: "the behavior where a singular type matching a route placeholder becomes a path value, other singular types become query values, and Pydantic models become the body"?
A.Parameter source inference — the type for receiving an uploaded file with a spooled temporary store, metadata, and async read methods
B.Parameter source inference — the marker used to read uploaded file bytes directly from a multipart request into a bytes argument
C.Parameter source inference — a declaration that extracts a named HTTP request header, converting underscores to hyphens by default
D.Parameter source inference — the behavior where a singular type matching a route placeholder becomes a path value, other singular types become query values, and Pydantic models become the body
Answers, AI explanations, and a scored voice mock interview
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.