nerdexam
Exams101Questions#253
F5

101 · Question #253

101 Question #253: Real Exam Question with Answer & Explanation

The correct answer is B: User. In an HTTP request, a parameter name is the key portion of a key-value pair in a query string or form body. Given a request like /Financials?User=Week1, 'User' is the parameter name.

Question

In the following request, which portion represents a parameter name?

Options

  • AYes
  • BUser
  • CWeek1
  • DFinancials

Explanation

In an HTTP request, a parameter name is the key portion of a key-value pair in a query string or form body. Given a request like /Financials?User=Week1, 'User' is the parameter name.

Common mistakes.

  • A. 'Yes' would represent a parameter value or a separate value token, not the identifying name of a parameter.
  • C. 'Week1' is the value assigned to the 'User' parameter, not the parameter name itself.
  • D. 'Financials' represents the URI path or application resource component, not a parameter name in the query string.

Concept tested. HTTP request parameter name vs value identification

Reference. https://learn.microsoft.com/en-us/aspnet/web-api/overview/formats-and-model-binding/parameter-binding-in-aspnet-web-api

Community Discussion

No community discussion yet for this question.

Full 101 Practice