Which HTTP Request Produced This Cisco DNA Center REST API Response?
Short answer
B GET /network-device?macAddress=ac:4a:56:6c:7c:00
Question

Key Takeaways
The question tests whether you understand that GET is the read-only operation used to retrieve network device details, and the trap is confusing response bodies with create/update methods.
This Cisco 350-401 exam question asks which HTTP request returned a REST API response from Cisco DNA Center; community voting strongly confirms the correct answer is GET, reinforcing REST method semantics.
Common mistake: The most common wrong approach is choosing POST or PUT because many REST APIs return data in response to create/update operations; however, the scenario shows a simple retrieval, so GET is correct.
Expert Analysis
Why the Answer Is Correct
The request is for network device details based on a MAC address, which is a read-only operation. In REST APIs, GET is defined as a safe, idempotent method used to retrieve resources without changing state. The response body showing the device information is exactly what a GET request to /network-device with a macAddress filter would return. The community consensus (100% votes for B) confirms this interpretation.
Why the Other Options Are Wrong
A (PUT) is used to update or replace an existing resource, not to retrieve it, and would require a full payload in the request body. C (fetch) is not an HTTP method; it is a JavaScript API used to send HTTP requests, so it cannot be the answer. D (POST) is used to create a new resource, and a POST to /network-device would generally create a device, not retrieve one. The commenter correctly noted that POST supports various data types and is not used for simple retrieval.
Community Comment Notes
One commenter observed that many REST APIs return the modified item after PUT or POST, so the response body alone is not always enough to determine the method; however, in this question the intended REST semantics point clearly to GET. Another commenter highlighted that GET only supports string data types, which aligns with the quoted values in the exhibit. The community confidently selected B, and no dissenting view was provided.
Official Reference
- https://developer.cisco.com/docs/dna-center/
- https://developer.cisco.com/docs/dna-center/api/1-3-1-x
- https://www.rfc-editor.org/rfc/rfc7231
These links open the official vendor documentation in a new tab.
Exam Strategy
Memorize the core REST method mapping: GET = read/retrieve, POST = create, PUT = update, DELETE = delete. When you see a response that simply returns device details with no indication of a state change, choose GET even if the response body contains data.
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
NetworkJanitor 👍 2I knew it was not A or C, but interesting info for future use for those who don't use it much: Data Types: GET supports only string data types. <----- hence everything depicted above is in quotes. POST supports various data types including binary.
-
chiacche 👍 2 Answered BGET: Retrieve (read-only) POST: Create PUT: Update -- fetch: JavaScript API used to send HTTP requests
-
ferdomravec87 👍 1Just an observation, many REST API interfaces out there will return the modified item after you use PUT or POST on it so that you can verify your changes. So response body payload only is usually not enough to know what method was used.
-
Rfvaz 👍 1 Answered BGiven answer is right.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All 350-401 Questions
Access 218 questions with complete answers and detailed explanations.
View Full 350-401 Practice Test →