Implementing and Operating Cisco Service Provider Network Core Technologies (SPCOR) — Question 169
When Cisco IOS XE REST API uses HTTP request methods, what is the purpose of a PUT request?
Answer options
- A. updates the specified resource with new information
- B. creates a new resource
- C. submits data to be processed to the specified resource
- D. retrieves the specified resource or representation
Correct answer: A
Explanation
A PUT request is specifically designed to update an existing resource with new information. Option B, which mentions creating a new resource, is incorrect as that is the function of a POST request. Options C and D serve different purposes; C is about submitting data for processing, while D is focused on retrieving data.