CyberCertPrepWeb App FundamentalsHTTP & Web BasicsEASYFree question
Which HTTP method is used to replace an entire resource at a specific URL with the data supplied in the request body?
- A.PATCH
- B.PUT
- C.POST
- D.OPTIONS
Why B is correct
PUT replaces the target resource entirely with the provided representation. PATCH applies a partial update, POST creates a new resource or triggers an action, and OPTIONS queries allowed methods.
Know someone studying for Web App Fundamentals? Send them this one.